Skip to content

Commit f5ca35e

Browse files
committed
tests: fix XID consturction test calling ctor the wrong way
Fixes: gromox-2.45-162-g8c14d1e02
1 parent 219d5ff commit f5ca35e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/utiltest.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -464,7 +464,7 @@ static int t_eidcvt()
464464
assert(rop_util_make_eid(2, gc) == eid);
465465
assert(rop_util_make_eid_ex(2, 0x1fffe) == eid);
466466

467-
XID xid{GUID_NULL, 0x8877665544332211ULL};
467+
XID xid{GUID_NULL, rop_util_make_eid_ex(1, 0x8877665544332211ULL)};
468468
assert(memcmp(xid.local_id, "\x66\x55\x44\x33\x22\x11", 6) == 0);
469469
return EXIT_SUCCESS;
470470
}

0 commit comments

Comments
 (0)