Skip to content

Commit

Permalink
Remove useless tests
Browse files Browse the repository at this point in the history
The tokenizer is no longer responsible for reporting InvalidBaseValue errors, so these tests are no longer relevant. Other tests in this tokenizer_test.gleam cover the same logic.
  • Loading branch information
JosephTLyons committed Nov 9, 2024
1 parent 73cb999 commit 8c86911
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions test/tokenizer_test.gleam
Original file line number Diff line number Diff line change
Expand Up @@ -154,15 +154,3 @@ pub fn tokenize_int_base_36_test() {
Digit("z", 35, 36),
])
}

pub fn tokenize_int_invalid_1_test() {
"1"
|> tokenizer.tokenize_int(base: 1)
|> expect.to_equal([Digit("1", 1, 1)])
}

pub fn tokenize_int_invalid_2_test() {
"1"
|> tokenizer.tokenize_int(base: 37)
|> expect.to_equal([Digit("1", 1, 37)])
}

0 comments on commit 8c86911

Please sign in to comment.