File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ public void hashAllBazelTargets_ruleTargets() throws IOException {
6666 @ Test
6767 public void hashAllBazelTargets_ruleTargets_seedFilepaths () throws IOException {
6868 Set <Path > seedFilepaths = new HashSet <>();
69- seedFilepaths .add (Path . of ("somefile.txt" ));
69+ seedFilepaths .add (Paths . get ("somefile.txt" ));
7070 when (filesClientMock .readFile (anyObject ())).thenReturn ("somecontent" .getBytes ());
7171 when (bazelClientMock .queryAllTargets ()).thenReturn (defaultTargets );
7272 TargetHashingClientImpl client = new TargetHashingClientImpl (bazelClientMock , filesClientMock );
@@ -141,7 +141,7 @@ public void hashAllBazelTargets_sourceTargets_modifiedSources() throws IOExcepti
141141 @ Test
142142 public void hashAllBazelTargets_sourceTargets_modifiedSources_seedFilepaths () throws IOException , NoSuchAlgorithmException {
143143 Set <Path > seedFilepaths = new HashSet <>();
144- seedFilepaths .add (Path . of ("somefile.txt" ));
144+ seedFilepaths .add (Paths . get ("somefile.txt" ));
145145 when (filesClientMock .readFile (anyObject ())).thenReturn ("somecontent" .getBytes ());
146146 createSourceTarget ("sourceFile1" );
147147 defaultTargets .add (createSourceTarget ("sourceFile1" ));
You can’t perform that action at this time.
0 commit comments