From 00946277e84a409f52e99d3af5bf5dd99d581339 Mon Sep 17 00:00:00 2001 From: Jesse Wilson Date: Mon, 24 Oct 2011 05:03:06 +0000 Subject: [PATCH] Track change in thrown exception. --- gson/src/test/java/com/google/gson/MixedStreamTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gson/src/test/java/com/google/gson/MixedStreamTest.java b/gson/src/test/java/com/google/gson/MixedStreamTest.java index 985df2e4..00eb4bc8 100644 --- a/gson/src/test/java/com/google/gson/MixedStreamTest.java +++ b/gson/src/test/java/com/google/gson/MixedStreamTest.java @@ -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>() {}.getType()); fail(); - } catch (IllegalStateException expected) { + } catch (JsonParseException expected) { } }