Skip to content

Commit

Permalink
add an overflow test for Dimension parsing
Browse files Browse the repository at this point in the history
  • Loading branch information
frett committed Aug 6, 2024
1 parent eb0d177 commit 098e687
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ class DimensionTest {

assertNull("-1".toDimensionOrNull())
assertNull("12a".toDimensionOrNull())

// Overflow Test
assertNull("999999999999999999999".toDimensionOrNull())
}

@Test
Expand Down

0 comments on commit 098e687

Please sign in to comment.