mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-26 04:32:44 +01:00
[YAMLVFSWriter][Tests] Fix YAMLVFSWriterTest
Differential Revision: https://reviews.llvm.org/D79550
This commit is contained in:
parent
985ee828ac
commit
d61ef6b656
@ -2197,8 +2197,8 @@ TEST_F(VFSFromYAMLTest, YAMLVFSWriterTest) {
|
||||
ScopedFile _cd(TestDirectory + "/c/d", "");
|
||||
ScopedDir _e(TestDirectory + "/e");
|
||||
ScopedDir _ef(TestDirectory + "/e/f");
|
||||
ScopedDir _g(TestDirectory + "/g");
|
||||
ScopedFile _h(TestDirectory + "/h", "");
|
||||
ScopedFile _g(TestDirectory + "/g", "");
|
||||
ScopedDir _h(TestDirectory + "/h");
|
||||
|
||||
vfs::YAMLVFSWriter VFSWriter;
|
||||
VFSWriter.addDirectoryMapping(_a.Path, "//root/a");
|
||||
@ -2223,8 +2223,8 @@ TEST_F(VFSFromYAMLTest, YAMLVFSWriterTest) {
|
||||
Lower->addRegularFile("//root/c/d");
|
||||
Lower->addDirectory("//root/e");
|
||||
Lower->addDirectory("//root/e/f");
|
||||
Lower->addDirectory("//root/g");
|
||||
Lower->addRegularFile("//root/h");
|
||||
Lower->addRegularFile("//root/g");
|
||||
Lower->addDirectory("//root/h");
|
||||
|
||||
IntrusiveRefCntPtr<vfs::FileSystem> FS = getFromYAMLRawString(Buffer, Lower);
|
||||
ASSERT_TRUE(FS.get() != nullptr);
|
||||
|
Loading…
Reference in New Issue
Block a user