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 original test for getnormalizedname
GH issue

as suggested by dpiparo
  • Loading branch information
ferdymercury authored Nov 26, 2024
commit 0bf4df4a1ca3e6ad9e241d34a5966f5fcf4328dc
8 changes: 8 additions & 0 deletions core/foundation/test/testClassEdit.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -280,3 +280,11 @@ TEST(TClassEdit, DefAlloc)
{
EXPECT_TRUE(TClassEdit::IsDefAlloc("class std::allocator<float>", "float"));
}

// https://github.com/root-project/root/issues/6607
TEST(TClassEdit, GetNormalizedName)
{
std::string n;
TClassEdit::GetNormalizedName(n, "std::vector<float, class std::allocator<float>>");
EXPECT_STREQ("vector<float>", n.c_str());
}
Loading