Skip to content

Commit ca12138

Browse files
committed
✅ fix invalid charset test
1 parent 3151421 commit ca12138

File tree

1 file changed

+2
-1
lines changed
  • qs-kotlin/src/test/kotlin/io/github/techouse/qskotlin/unit

1 file changed

+2
-1
lines changed

qs-kotlin/src/test/kotlin/io/github/techouse/qskotlin/unit/DecodeSpec.kt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -750,8 +750,9 @@ class DecodeSpec :
750750

751751
describe("charset") {
752752
it("throws an exception when given an unknown charset") {
753+
@Suppress("CHARSET")
753754
shouldThrow<Exception> {
754-
decode("a=b", DecodeOptions(charset = Charset.forName("Shift_JIS")))
755+
decode("a=b", DecodeOptions(charset = Charset.forName("foo")))
755756
}
756757
}
757758

0 commit comments

Comments
 (0)