Track change in thrown exception.

This commit is contained in:
Jesse Wilson 2011-10-24 05:03:06 +00:00
parent 016261d9cf
commit 00946277e8

View File

@ -114,7 +114,7 @@ public final class MixedStreamTest extends TestCase {
try { try {
gson.fromJson(jsonReader, String.class); gson.fromJson(jsonReader, String.class);
fail(); fail();
} catch (IllegalStateException expected) { } catch (JsonParseException expected) {
} }
} }
@ -125,7 +125,7 @@ public final class MixedStreamTest extends TestCase {
try { try {
gson.fromJson(jsonReader, new TypeToken<List<Car>>() {}.getType()); gson.fromJson(jsonReader, new TypeToken<List<Car>>() {}.getType());
fail(); fail();
} catch (IllegalStateException expected) { } catch (JsonParseException expected) {
} }
} }