Skip to content

Commit b0e9976

Browse files
committed
Fix spurious failure
1 parent 6207981 commit b0e9976

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

tests/yup_core/yup_Uuid.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -252,9 +252,10 @@ TEST (UuidTests, GetPart)
252252

253253
TEST (UuidTests, GetClockSeqLow)
254254
{
255-
Uuid uuid;
255+
uint8 rawData[16] = { 0x12, 0x34, 0x56, 0x78, 0x90, 0xab, 0xcd, 0xef, 0x01, 0x23, 0x45, 0x67, 0x89, 0x0a, 0xbc, 0xde };
256+
Uuid uuid (rawData);
256257
uint8 clockSeqLow = uuid.getClockSeqLow();
257-
EXPECT_NE (clockSeqLow, 0);
258+
EXPECT_EQ (clockSeqLow, 0x23);
258259
}
259260

260261
TEST (UuidTests, FromSHA1MemoryBlock)

0 commit comments

Comments
 (0)