aboutsummaryrefslogtreecommitdiff
path: root/java/core/src/test/java/com/google/protobuf/CodedInputStreamTest.java
diff options
context:
space:
mode:
Diffstat (limited to 'java/core/src/test/java/com/google/protobuf/CodedInputStreamTest.java')
-rw-r--r--java/core/src/test/java/com/google/protobuf/CodedInputStreamTest.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/java/core/src/test/java/com/google/protobuf/CodedInputStreamTest.java b/java/core/src/test/java/com/google/protobuf/CodedInputStreamTest.java
index 5ea6b79c..f64df334 100644
--- a/java/core/src/test/java/com/google/protobuf/CodedInputStreamTest.java
+++ b/java/core/src/test/java/com/google/protobuf/CodedInputStreamTest.java
@@ -699,7 +699,7 @@ public class CodedInputStreamTest extends TestCase {
}
assertEquals(true, input.isAtEnd());
} catch (Exception e) {
- fail("Catch exception in the testIsAtEnd");
+ throw new AssertionError("Catch exception in the testIsAtEnd", e);
}
}