silentbicycle / greatest

A C testing library in 1 file. No dependencies, no dynamic allocation. ISC licensed.
ISC License
1.48k stars 108 forks source link

example.c in greatest line 208 exp and got reversed #88

Closed shaohuasong closed 5 years ago

shaohuasong commented 5 years ago

ASSERT_MEM_EQm("expected matching memory", got, exp, sizeof(got));

should be

ASSERT_MEM_EQm("expected matching memory", exp, got, sizeof(got));

silentbicycle commented 5 years ago

You're right, good catch.