From b7f68934b5bed4ef428bfec78d375b5fa66eac30 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Loi=CC=88c=20PE=CC=81RON?= Date: Fri, 19 Jun 2020 00:46:41 +0200 Subject: [PATCH] Update tests for error-prone 2.4.0 --- .../plexus/compiler/javac/JavacErrorProneCompilerTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plexus-compilers/plexus-compiler-javac-errorprone/src/test/java/org/codehaus/plexus/compiler/javac/JavacErrorProneCompilerTest.java b/plexus-compilers/plexus-compiler-javac-errorprone/src/test/java/org/codehaus/plexus/compiler/javac/JavacErrorProneCompilerTest.java index 615ed574..babdc696 100644 --- a/plexus-compilers/plexus-compiler-javac-errorprone/src/test/java/org/codehaus/plexus/compiler/javac/JavacErrorProneCompilerTest.java +++ b/plexus-compilers/plexus-compiler-javac-errorprone/src/test/java/org/codehaus/plexus/compiler/javac/JavacErrorProneCompilerTest.java @@ -80,11 +80,11 @@ protected String getRoleHint() protected int expectedWarnings() { if ( java8() ) { - return 0; + return 1; } else { - return 1; + return 2; } }