Skip to content

Commit aa057d2

Browse files
committed
Fix Exceptions
1 parent 581cc52 commit aa057d2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/test/kotlin/lexer/StringJSONLexerTest.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
package lexer
22

3+
import net.quickwrite.JSONLexerException
34
import net.quickwrite.lexer.JSONLexeme
45
import net.quickwrite.lexer.JSONLexemeType
5-
import net.quickwrite.lexer.LexerException
66
import net.quickwrite.lexer.StringJSONLexer
77
import org.junit.jupiter.api.Test
88

@@ -66,7 +66,7 @@ class StringJSONLexerTest {
6666
val inputs = arrayOf("1.", "001", "0e", "1e+")
6767

6868
inputs.forEach {
69-
org.junit.jupiter.api.assertThrows<LexerException> {
69+
org.junit.jupiter.api.assertThrows<JSONLexerException> {
7070
StringJSONLexer(it).getNext()
7171
}
7272
}

0 commit comments

Comments
 (0)