File tree 3 files changed +6
-8
lines changed
javatests/io/bazel/rules/closure 3 files changed +6
-8
lines changed Original file line number Diff line number Diff line change @@ -89,11 +89,11 @@ java_import_external(
89
89
90
90
java_import_external (
91
91
name = "com_google_truth" ,
92
- jar_sha256 = "a9e6796786c9c77a5fe19b08e72fe0a620d53166df423d8861af9ebef4dc4247 " ,
92
+ jar_sha256 = "0f7dced2a16e55a77e44fc3ff9c5be98d4bf4bb30abc18d78ffd735df950a69f " ,
93
93
jar_urls = [
94
- "https://mirror.bazel.build/repo1.maven.org/maven2/com/google/truth/truth/0.44 /truth-0.44 .jar" ,
95
- "http://repo1.maven.org/maven2/com/google/truth/truth/0.44 /truth-0.44 .jar" ,
96
- "http://maven.ibiblio.org/maven2/com/google/truth/truth/0.44 /truth-0.44 .jar" ,
94
+ "https://mirror.bazel.build/repo1.maven.org/maven2/com/google/truth/truth/0.45 /truth-0.45 .jar" ,
95
+ "http://repo1.maven.org/maven2/com/google/truth/truth/0.45 /truth-0.45 .jar" ,
96
+ "http://maven.ibiblio.org/maven2/com/google/truth/truth/0.45 /truth-0.45 .jar" ,
97
97
],
98
98
licenses = ["notice" ], # Apache 2.0
99
99
testonly_ = 1 ,
Original file line number Diff line number Diff line change 26
26
import com .google .common .testing .EqualsTester ;
27
27
import com .google .common .testing .NullPointerTester ;
28
28
import com .google .common .truth .BooleanSubject ;
29
- import com .google .common .truth .DefaultSubject ;
30
29
import com .google .common .truth .IterableSubject ;
31
30
import com .google .common .truth .Subject ;
32
31
import com .google .common .truth .Truth ;
@@ -62,7 +61,7 @@ private Path xp(String path) {
62
61
}
63
62
64
63
// Workaround fact that Path interface matches multiple assertThat() method overloads.
65
- private static Subject < DefaultSubject , Object > assertThat (Object subject ) {
64
+ private static Subject assertThat (Object subject ) {
66
65
return Truth .assertThat (subject );
67
66
}
68
67
Original file line number Diff line number Diff line change @@ -69,8 +69,7 @@ public interface FailedChain {
69
69
WarningsChain withErrors (String ... warnings );
70
70
}
71
71
72
- private static final class ProgramResultSubject
73
- extends Subject <ProgramResultSubject , ProgramResult >
72
+ private static final class ProgramResultSubject extends Subject
74
73
implements ResultChain , WarningsChain , FailedChain {
75
74
76
75
private final ProgramResult actual ;
You can’t perform that action at this time.
0 commit comments