Skip to content

Commit b48efc6

Browse files
committed
Update InterpreterTest.cpp
1 parent e4c8539 commit b48efc6

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

unittests/CppInterOp/InterpreterTest.cpp

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -180,14 +180,10 @@ TEST(InterpreterTest, CreateInterpreterCAPI) {
180180

181181
TEST(InterpreterTest, CreateInterpreterCAPIFailure) {
182182
const char* argv[] = {
183-
"-target", "not-a-real-target",
184-
"-x", "c++",
185-
"-c",
186-
"-"
183+
"--this-flag-should-not-exist"
187184
};
188-
CXInterpreter CXI = clang_createInterpreter(argv, 5);
185+
CXInterpreter CXI = clang_createInterpreter(argv, 1);
189186
EXPECT_EQ(CXI, nullptr);
190-
191187
}
192188
#endif
193189

0 commit comments

Comments
 (0)