Skip to content

Commit

Permalink
test: add exceeding cases
Browse files Browse the repository at this point in the history
  • Loading branch information
apskhem committed Sep 22, 2024
1 parent f529ab6 commit 2905984
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,9 @@ void main() {
});

test('should throw an error for an invalid word count', () {
expect(() => SeedPhrase(wordCount: 9), throwsA(isA<ArgumentError>()));
expect(() => SeedPhrase(wordCount: 13), throwsA(isA<ArgumentError>()));
expect(() => SeedPhrase(wordCount: 27), throwsA(isA<ArgumentError>()));
});

test('should create SeedPhrase from a valid mnemonic', () {
Expand Down

0 comments on commit 2905984

Please sign in to comment.