Skip to content

Commit

Permalink
adjust testcase signature #761
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshikawaa committed Mar 20, 2019
1 parent 93f8efc commit 0161e10
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -141,10 +141,9 @@ public void testSpecifyIllegalCharset() {
* specify negative value. expected {@code ValidationException} caused by {@code IllegalArgumentException} that message is
* {@code failed to initialize validator by invalid argument} and nested by {@code IllegalArgumentException} that message is
* {@code value[-1] must not be negative value.}.
* @throws Throwable
*/
@Test
public void testSpecifyNegativeValue() throws Throwable {
public void testSpecifyNegativeValue() {
setExpectedFailedToInitialize(IllegalArgumentException.class,
"value[-1] must not be negative value.");

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -141,10 +141,9 @@ public void testSpecifyIllegalCharset() {
* specify negative value. expected {@code ValidationException} caused by {@code IllegalArgumentException} that message is
* {@code failed to initialize validator by invalid argument} and nested by {@code IllegalArgumentException} that message is
* {@code value[-1] must not be negative value.}.
* @throws Throwable
*/
@Test
public void testSpecifyNegativeValue() throws Throwable {
public void testSpecifyNegativeValue() {
setExpectedFailedToInitialize(IllegalArgumentException.class,
"value[-1] must not be negative value.");

Expand Down

0 comments on commit 0161e10

Please sign in to comment.