Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
[core] add test for IsDefAlloc with class prefix
  • Loading branch information
ferdymercury authored Nov 26, 2024
commit a4103aee65246b52f276109de733de7f313b1e0d
6 changes: 6 additions & 0 deletions core/foundation/test/testClassEdit.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -274,3 +274,9 @@ TEST(TClassEdit, DefComp)
{
EXPECT_FALSE(TClassEdit::IsDefComp("std::less<>", "std::string"));
}

// https://github.com/root-project/root/issues/6607
TEST(TClassEdit, DefAlloc)
{
EXPECT_TRUE(TClassEdit::IsDefAlloc("class std::allocator<float>", "float"));
}
Loading