Skip to content

Commit

Permalink
One more negative test added.
Browse files Browse the repository at this point in the history
  • Loading branch information
jdereg committed Feb 4, 2024
1 parent 34f9483 commit 6d14c17
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -218,6 +218,7 @@ class ConverterEverythingTest
{ "127", (byte)127 },
{ "", (byte)0 },
{ "crapola", new IllegalArgumentException("Value: crapola not parseable as a byte value or outside -128 to 127")},
{ "54 crapola", new IllegalArgumentException("Value: 54 crapola not parseable as a byte value or outside -128 to 127")},
{ "-129", new IllegalArgumentException("-129 not parseable as a byte value or outside -128 to 127") },
{ "128", new IllegalArgumentException("128 not parseable as a byte value or outside -128 to 127") },
});
Expand Down

0 comments on commit 6d14c17

Please sign in to comment.