diff options
Diffstat (limited to 'src/test/java/com/google/devtools/build/lib/vfs/inmemoryfs/InMemoryFileSystemTest.java')
-rw-r--r-- | src/test/java/com/google/devtools/build/lib/vfs/inmemoryfs/InMemoryFileSystemTest.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/test/java/com/google/devtools/build/lib/vfs/inmemoryfs/InMemoryFileSystemTest.java b/src/test/java/com/google/devtools/build/lib/vfs/inmemoryfs/InMemoryFileSystemTest.java index 65446664d3..ee4dfe937a 100644 --- a/src/test/java/com/google/devtools/build/lib/vfs/inmemoryfs/InMemoryFileSystemTest.java +++ b/src/test/java/com/google/devtools/build/lib/vfs/inmemoryfs/InMemoryFileSystemTest.java @@ -394,8 +394,8 @@ public class InMemoryFileSystemTest extends ScopeEscapableFileSystemTest { public void testEloop() throws Exception { Path a = testFS.getPath("/a"); Path b = testFS.getPath("/b"); - a.createSymbolicLink(new PathFragment("b")); - b.createSymbolicLink(new PathFragment("a")); + a.createSymbolicLink(PathFragment.create("b")); + b.createSymbolicLink(PathFragment.create("a")); try { a.stat(); } catch (IOException e) { @@ -406,7 +406,7 @@ public class InMemoryFileSystemTest extends ScopeEscapableFileSystemTest { @Test public void testEloopSelf() throws Exception { Path a = testFS.getPath("/a"); - a.createSymbolicLink(new PathFragment("a")); + a.createSymbolicLink(PathFragment.create("a")); try { a.stat(); } catch (IOException e) { |