Skip to content

Commit

Permalink
Updated value test code
Browse files Browse the repository at this point in the history
  • Loading branch information
NetajiPanigrahi authored Mar 22, 2024
1 parent a860ac7 commit b0efb40
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/rbus/consumer/valueAPI.c
Original file line number Diff line number Diff line change
Expand Up @@ -1000,7 +1000,7 @@ void testValue_ToString()

rbusValue_SetBoolean(v, true);
s = rbusValue_ToString(v,0,0);
TEST(!strcmp(s, "1"));
TEST(!strcmp(s, "true"));
free(s);

rbusValue_SetChar(v, 'a');
Expand Down Expand Up @@ -1120,7 +1120,7 @@ void testValue_ToDebugString()

rbusValue_SetBoolean(v, true);
s = rbusValue_ToDebugString(v,0,0);
TEST(!strcmp(s, "rbusValue type:RBUS_BOOLEAN value:1"));
TEST(!strcmp(s, "rbusValue type:RBUS_BOOLEAN value:true"));
free(s);

rbusValue_SetChar(v, 'a');
Expand Down

0 comments on commit b0efb40

Please sign in to comment.