Skip to content

Commit

Permalink
test: drop a condition from the safe_atou test
Browse files Browse the repository at this point in the history
If sizeof(long) == sizeof(int), this test won't pass so let's drop it
altogether.

Fixes #137

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
  • Loading branch information
whot committed Sep 14, 2018
1 parent c501dab commit 037bd0c
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion test/test-misc.c
Original file line number Diff line number Diff line change
Expand Up @@ -1157,7 +1157,6 @@ START_TEST(safe_atou_test)
{ "-1", false, 0 },
{ "2147483647", true, 2147483647 },
{ "-2147483648", false, 0},
{ "4294967295", true, 4294967295 },
{ "0x0", false, 0 },
{ "-10x10", false, 0 },
{ "1x-99", false, 0 },
Expand Down

0 comments on commit 037bd0c

Please sign in to comment.