From a0f6b5d9824cf4b33577f758879e03da95a71365 Mon Sep 17 00:00:00 2001 From: Mira Leung Date: Wed, 9 Sep 2020 12:00:40 -0700 Subject: [PATCH] fix: clean up Java method names in ExprStmtTest --- .../google/api/generator/engine/ast/ExprStatementTest.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/test/java/com/google/api/generator/engine/ast/ExprStatementTest.java b/src/test/java/com/google/api/generator/engine/ast/ExprStatementTest.java index 83e7a260cc..32a55fe8ad 100644 --- a/src/test/java/com/google/api/generator/engine/ast/ExprStatementTest.java +++ b/src/test/java/com/google/api/generator/engine/ast/ExprStatementTest.java @@ -75,17 +75,17 @@ public void validExprStatement_return() { public void invalidExprStatement_variable() { Variable variable = Variable.builder().setType(TypeNode.INT).setName("libraryClient").build(); VariableExpr varExpr = VariableExpr.builder().setVariable(variable).build(); - assertInvalidExprStatement_(varExpr); + assertInvalidExprStatement(varExpr); } @Test public void invalidExprStatement_value() { Value value = PrimitiveValue.builder().setType(TypeNode.INT).setValue("3").build(); ValueExpr valueExpr = ValueExpr.builder().setValue(value).build(); - assertInvalidExprStatement_(valueExpr); + assertInvalidExprStatement(valueExpr); } - private static void assertInvalidExprStatement_(Expr expr) { + private static void assertInvalidExprStatement(Expr expr) { assertThrows( IllegalStateException.class, () -> {