diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2013-07-05 22:32:33 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2013-07-05 22:32:33 +0000 |
commit | 2c87a1705e0b11605e6ad0a14a1e47b9de7aa981 (patch) | |
tree | 22cedf38cbbfce8565d785a46da14e9471d6b2de /unittests | |
parent | 23fabedce59140dca6c69e0dfbb952bf9ac15bc4 (diff) | |
download | llvm-2c87a1705e0b11605e6ad0a14a1e47b9de7aa981.tar.gz llvm-2c87a1705e0b11605e6ad0a14a1e47b9de7aa981.tar.bz2 llvm-2c87a1705e0b11605e6ad0a14a1e47b9de7aa981.tar.xz |
Fix windows build.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@185730 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'unittests')
-rw-r--r-- | unittests/Support/Path.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/unittests/Support/Path.cpp b/unittests/Support/Path.cpp index 4fc02be5e3..7371e30a5e 100644 --- a/unittests/Support/Path.cpp +++ b/unittests/Support/Path.cpp @@ -265,7 +265,7 @@ TEST_F(FileSystemTest, TempFiles) { "abcdefghijklmnopqrstuvwxyz5abcdefghijklmnopqrstuvwxyz4" "abcdefghijklmnopqrstuvwxyz3abcdefghijklmnopqrstuvwxyz2" "abcdefghijklmnopqrstuvwxyz1abcdefghijklmnopqrstuvwxyz0"; - EXPECT_EQ(fs::unique_file(Twine(Path270), FileDescriptor, TempPath), + EXPECT_EQ(fs::createUniqueFile(Twine(Path270), FileDescriptor, TempPath), windows_error::path_not_found); #endif } |