aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--llvm/unittests/Support/VirtualFileSystemTest.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/llvm/unittests/Support/VirtualFileSystemTest.cpp b/llvm/unittests/Support/VirtualFileSystemTest.cpp
index b81cb86..53b8630 100644
--- a/llvm/unittests/Support/VirtualFileSystemTest.cpp
+++ b/llvm/unittests/Support/VirtualFileSystemTest.cpp
@@ -2022,10 +2022,10 @@ TEST_F(VFSFromYAMLTest, WorkingDirectory) {
" 'roots': [\n"
"{\n"
" 'type': 'directory',\n"
- " 'name': '//root/',\n"
+ " 'name': '//root/bar',\n"
" 'contents': [ {\n"
" 'type': 'file',\n"
- " 'name': 'bar/a',\n"
+ " 'name': 'a',\n"
" 'external-contents': '//root/foo/a'\n"
" }\n"
" ]\n"
@@ -2081,10 +2081,10 @@ TEST_F(VFSFromYAMLTest, WorkingDirectoryFallthrough) {
" 'roots': [\n"
"{\n"
" 'type': 'directory',\n"
- " 'name': '//root/',\n"
+ " 'name': '//root/bar',\n"
" 'contents': [ {\n"
" 'type': 'file',\n"
- " 'name': 'bar/a',\n"
+ " 'name': 'a',\n"
" 'external-contents': '//root/foo/a'\n"
" }\n"
" ]\n"
@@ -2138,10 +2138,10 @@ TEST_F(VFSFromYAMLTest, WorkingDirectoryFallthroughInvalid) {
" 'roots': [\n"
"{\n"
" 'type': 'directory',\n"
- " 'name': '//root/',\n"
+ " 'name': '//root/bar',\n"
" 'contents': [ {\n"
" 'type': 'file',\n"
- " 'name': 'bar/a',\n"
+ " 'name': 'a',\n"
" 'external-contents': '//root/foo/a'\n"
" }\n"
" ]\n"