Skip to content

Commit f98821f

Browse files
authored
[test] fix failing tests when cxxmodules is off
1 parent 07cfe1b commit f98821f

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

core/rint/test/TTabComTests.cxx

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,8 +95,13 @@ TEST(TTabComTests, CompleteTProfile)
9595

9696
TEST(TTabComTests, CompleteTObj)
9797
{
98+
#ifdef R__USE_CXXMODULES
9899
std::string expected = "TObjArray TObjArrayIter TObjLink TObjLinkPtr_t TObjOptLink"
99100
" TObjString TObject TObjectRefSpy TObjectSpy TObjectTable";
101+
#else
102+
std::string expected = "TObjArray TObjArrayIter TObjLink TObjOptLink"
103+
" TObjString TObject TObjectRefSpy TObjectSpy TObjectTable";
104+
#endif
100105
// FIXME: See ROOT-10989
101106
ASSERT_STREQ(expected.c_str(), GetCompletions("TObj",
102107
/*ignore=*/{"TObjectDisplayItem", "TObjectDrawable", "TObjectHolder",

0 commit comments

Comments
 (0)