Track change in thrown exception.
This commit is contained in:
parent
016261d9cf
commit
00946277e8
@ -114,7 +114,7 @@ public final class MixedStreamTest extends TestCase {
|
||||
try {
|
||||
gson.fromJson(jsonReader, String.class);
|
||||
fail();
|
||||
} catch (IllegalStateException expected) {
|
||||
} catch (JsonParseException expected) {
|
||||
}
|
||||
}
|
||||
|
||||
@ -125,7 +125,7 @@ public final class MixedStreamTest extends TestCase {
|
||||
try {
|
||||
gson.fromJson(jsonReader, new TypeToken<List<Car>>() {}.getType());
|
||||
fail();
|
||||
} catch (IllegalStateException expected) {
|
||||
} catch (JsonParseException expected) {
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user