File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
src/test/kotlin/io/github/projectmapk/jackson/module/kogera/zPorted/test Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -195,7 +195,7 @@ private class TestM11Changes {
195
195
try {
196
196
person.phone
197
197
fail(" While person can be deserialized without a phone, phone must be set before attempting to access it" )
198
- } catch (e : IllegalStateException ) { // expected
198
+ } catch (_ : IllegalStateException ) { // expected
199
199
}
200
200
}
201
201
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ class TestGithub161 {
20
20
try {
21
21
objectMapper.readValue(json, Foo ::class .java)
22
22
fail(" Expected an error on the missing primitive value" )
23
- } catch (ex : MismatchedInputException ) {
23
+ } catch (_ : MismatchedInputException ) {
24
24
// success
25
25
}
26
26
}
You can’t perform that action at this time.
0 commit comments