Skip to content

Commit a3ab55f

Browse files
committed
libutil/test: fix typos in fluid unit test
Problem: There are a couple cut-and-paste errors in the fluid unit test that print type=MNEMONIC when they mean type=DOTHEX. Fix the typos.
1 parent eb4dc88 commit a3ab55f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/common/libutil/test/fluid.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ void test_basic (void)
236236
ok (fluid_encode (buf, sizeof (buf), id, FLUID_STRING_DOTHEX) == 0,
237237
"fluid_encode type=DOTHEX works");
238238
ok (fluid_decode (buf, &id2, FLUID_STRING_DOTHEX) == 0 && id == id2,
239-
"fluid_decode type=MNEMONIC works");
239+
"fluid_decode type=DOTHEX works");
240240
diag ("%s", buf);
241241

242242
ok (fluid_encode (buf, sizeof (buf), id, FLUID_STRING_MNEMONIC) == 0,
@@ -257,7 +257,7 @@ void test_basic (void)
257257
ok (fluid_encode (buf, sizeof (buf), id, FLUID_STRING_DOTHEX) == 0,
258258
"fluid_encode type=DOTHEX works");
259259
ok (fluid_decode (buf, &id2, FLUID_STRING_DOTHEX) == 0 && id == id2,
260-
"fluid_decode type=MNEMONIC works");
260+
"fluid_decode type=DOTHEX works");
261261
diag ("%s", buf);
262262

263263
ok (fluid_encode (buf, sizeof (buf), id, FLUID_STRING_MNEMONIC) == 0,

0 commit comments

Comments
 (0)