Fix test build on windows.
authorRafael Espindola <rafael.espindola@gmail.com>
Wed, 11 Jun 2014 22:23:45 +0000 (22:23 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Wed, 11 Jun 2014 22:23:45 +0000 (22:23 +0000)
llvm-svn: 210714

lld/unittests/DriverTests/InputGraphTest.cpp

index d8275fa..42dfe25 100644 (file)
@@ -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: