mirror of
https://github.com/jlengrand/error-prone-support.git
synced 2026-03-10 08:11:25 +00:00
Upgrade Truth 1.0.1 -> 1.1.3 (#78)
See: - https://github.com/google/truth/releases/tag/release_1_1 - https://github.com/google/truth/releases/tag/release_1_1_1 - https://github.com/google/truth/releases/tag/release_1_1_2 - https://github.com/google/truth/releases/tag/release_1_1_3 - https://github.com/google/truth/compare/release_1_0_1...release_1_1_3
This commit is contained in:
@@ -126,6 +126,11 @@
|
||||
<artifactId>jaxb-api</artifactId>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>junit</groupId>
|
||||
<artifactId>junit</artifactId>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.aspectj</groupId>
|
||||
<artifactId>aspectjweaver</artifactId>
|
||||
|
||||
@@ -13,6 +13,7 @@ import com.google.errorprone.BugCheckerRefactoringTestHelper;
|
||||
import com.google.errorprone.BugCheckerRefactoringTestHelper.TestMode;
|
||||
import java.util.regex.Pattern;
|
||||
import java.util.stream.Stream;
|
||||
import org.junit.ComparisonFailure;
|
||||
import org.junit.jupiter.api.Test;
|
||||
import org.junit.jupiter.params.ParameterizedTest;
|
||||
import org.junit.jupiter.params.provider.Arguments;
|
||||
@@ -139,8 +140,7 @@ public final class RefasterCheckTest {
|
||||
assertThatCode(() -> verifyRefactoring(group, namePattern(group, template)))
|
||||
.withFailMessage(
|
||||
"Template %s does not affect the tests for group %s; is it tested?", template, group)
|
||||
.isInstanceOf(AssertionError.class)
|
||||
.hasMessageFindingMatch("^(diff|expected):");
|
||||
.isInstanceOf(ComparisonFailure.class);
|
||||
}
|
||||
|
||||
private static ImmutableSetMultimap<String, String> indexTemplateNamesByGroup(
|
||||
|
||||
Reference in New Issue
Block a user