summaryrefslogtreecommitdiffstats
path: root/lld/unittests
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2014-06-11 22:23:45 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2014-06-11 22:23:45 +0000
commit28db74b2f02a1d20ff2580a94a614c6e482d1593 (patch)
tree82f9abae19a9cb126eaeea523c14afc839698dba /lld/unittests
parent13a979911a9737c0acc9bee630bc0a970500a9de (diff)
downloadbcm5719-llvm-28db74b2f02a1d20ff2580a94a614c6e482d1593.tar.gz
bcm5719-llvm-28db74b2f02a1d20ff2580a94a614c6e482d1593.zip
Fix test build on windows.
llvm-svn: 210714
Diffstat (limited to 'lld/unittests')
-rw-r--r--lld/unittests/DriverTests/InputGraphTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lld/unittests/DriverTests/InputGraphTest.cpp b/lld/unittests/DriverTests/InputGraphTest.cpp
index d8275fa934b..42dfe2588c3 100644
--- a/lld/unittests/DriverTests/InputGraphTest.cpp
+++ b/lld/unittests/DriverTests/InputGraphTest.cpp
@@ -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:
OpenPOWER on IntegriCloud