summaryrefslogtreecommitdiff
path: root/unittests/Expression/GoParserTest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'unittests/Expression/GoParserTest.cpp')
-rw-r--r--unittests/Expression/GoParserTest.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/unittests/Expression/GoParserTest.cpp b/unittests/Expression/GoParserTest.cpp
index 710dc5e4e86f..2af75acda914 100644
--- a/unittests/Expression/GoParserTest.cpp
+++ b/unittests/Expression/GoParserTest.cpp
@@ -13,7 +13,7 @@
#include "gtest/gtest.h"
#include "Plugins/ExpressionParser/Go/GoParser.h"
-#include "lldb/Utility/Error.h"
+#include "lldb/Utility/Status.h"
using namespace lldb_private;
@@ -64,7 +64,7 @@ testing::AssertionResult CheckStatement(const char *_s, const char *c_expr,
GoParser parser(code);
std::unique_ptr<GoASTStmt> stmt(parser.Statement());
if (parser.Failed() || !stmt) {
- Error err;
+ Status err;
parser.GetError(err);
return testing::AssertionFailure() << "Error parsing " << c_expr << "\n\t"
<< err.AsCString();