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 {
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) {
}
}