Skip to content
This repository has been archived by the owner on Oct 23, 2024. It is now read-only.

Commit

Permalink
fixed testcase.
Browse files Browse the repository at this point in the history
  • Loading branch information
wenshao committed Feb 5, 2018
1 parent ec1366d commit 86aa0a6
Showing 1 changed file with 1 addition and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,7 @@ public void test_enum_2() throws Exception {
}

public void test_error() throws Exception {
Exception error = null;
try {
TypeUtils.castToEnum("\"A1\"", Type.class, null);
} catch (Exception ex) {
error = ex;
}
Assert.assertNotNull(error);
assertNull(TypeUtils.castToEnum("\"A1\"", Type.class, null));
}

public void test_error_1() throws Exception {
Expand Down

0 comments on commit 86aa0a6

Please sign in to comment.