[lld] r210714 - Fix test build on windows.
Rafael Espindola
rafael.espindola at gmail.com
Wed Jun 11 15:23:46 PDT 2014
Author: rafael
Date: Wed Jun 11 17:23:45 2014
New Revision: 210714
URL: http://llvm.org/viewvc/llvm-project?rev=210714&view=rev
Log:
Fix test build on windows.
Modified:
lld/trunk/unittests/DriverTests/InputGraphTest.cpp
Modified: lld/trunk/unittests/DriverTests/InputGraphTest.cpp
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/unittests/DriverTests/InputGraphTest.cpp?rev=210714&r1=210713&r2=210714&view=diff
==============================================================================
--- lld/trunk/unittests/DriverTests/InputGraphTest.cpp (original)
+++ lld/trunk/unittests/DriverTests/InputGraphTest.cpp Wed Jun 11 17:23:45 2014
@@ -68,7 +68,7 @@ public:
void expectEnd() {
ErrorOr<File &> file = _graph->getNextFile();
- EXPECT_EQ(InputGraphError::no_more_files, file.getError());
+ EXPECT_EQ(file.getError(), InputGraphError::no_more_files);
}
protected:
More information about the llvm-commits
mailing list