mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-12 05:56:28 +00:00
Unittests/Support/Path: Tweak test.
llvm-svn: 123546
This commit is contained in:
parent
86a5515979
commit
ef831d650f
@ -230,7 +230,7 @@ TEST_F(FileSystemTest, Magic) {
|
||||
ASSERT_FALSE(file.has_error());
|
||||
StringRef magic(i->magic_str, i->magic_str_len);
|
||||
file << magic;
|
||||
file.flush();
|
||||
file.close();
|
||||
bool res = false;
|
||||
ASSERT_NO_ERROR(fs::has_magic(file_pathname.c_str(), magic, res));
|
||||
EXPECT_TRUE(res);
|
||||
|
Loading…
Reference in New Issue
Block a user