Fix windows build.
authorRafael Espindola <rafael.espindola@gmail.com>
Fri, 5 Jul 2013 22:32:33 +0000 (22:32 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Fri, 5 Jul 2013 22:32:33 +0000 (22:32 +0000)
llvm-svn: 185730

llvm/unittests/Support/Path.cpp

index 4fc02be..7371e30 100644 (file)
@@ -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
 }