The preceding EXPECT_EQ was never executed; modifying the test input
made that happen.
Found by the Rotten Green Tests project.
Differential D119040
Fix LookupTest where it was missing an assertion probinson on Feb 4 2022, 2:43 PM. Authored by
Details
Diff Detail
Unit Tests Event TimelineComment Actions By "the EXPECT_EQ was never executed" I mean, replacing it with assert(false); does not crash the test. The string "a::b::Foo" was never seen by the Visitor. Maybe this indicates some much more subtle, deeper problem; I don't know. This change does cause the EXPECT_EQ to be executed, though. Comment Actions Thanks for the change, but the test is actually checking for rename in presence of using-decls. I beleive https://reviews.llvm.org/D121103 is the proper fix here. |