Skip to content
This repository was archived by the owner on Mar 30, 2021. It is now read-only.

Commit a649a1f

Browse files
authored
Added ASTImporter redecl chain tests for ODR handling. (#688)
* Added ASTImporter redecl chain tests for ODR handling. * Changed grouping of tests, added comments.
1 parent 489f601 commit a649a1f

File tree

2 files changed

+354
-77
lines changed

2 files changed

+354
-77
lines changed

unittests/AST/ASTImporterFixtures.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ class ASTImporterOptionSpecificTestBase
196196
template <class T>
197197
::testing::AssertionResult isSuccess(llvm::Expected<T> &ValOrErr) {
198198
if (ValOrErr)
199-
return ::testing::AssertionSuccess() << "Expected<> contains not an error.";
199+
return ::testing::AssertionSuccess() << "Expected<> contains no error.";
200200
else
201201
return ::testing::AssertionFailure()
202202
<< "Expected<> contains error: " << toString(ValOrErr.takeError());

0 commit comments

Comments
 (0)