Skip to content

Commit

Permalink
publish
Browse files Browse the repository at this point in the history
  • Loading branch information
rtmigo committed Mar 13, 2022
1 parent 704bc1e commit 8276e03
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/drandom_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ void main() {
test('Drandom nextInt range', () {
final random = Drandom();

expect(()=>random.nextInt(0x80000000), throwsRangeError); // no problem
random.nextInt(0x80000001); // problem
expect(()=>random.nextInt(0x80000001), throwsRangeError);
random.nextInt(0x80000000); // does not throw anything
});

}

0 comments on commit 8276e03

Please sign in to comment.