Skip to content

Commit 0374625

Browse files
authored
Update TFileMergerTests.cxx
1 parent 4e4cc12 commit 0374625

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

io/io/test/TFileMergerTests.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -459,7 +459,7 @@ TEST(TFileMerger, ImportBranches)
459459
EXPECT_EQ(dummy.FindBranch("a")->GetEntries(), 2);
460460
ASSERT_TRUE(dummy.FindBranch("b"));
461461
EXPECT_EQ(dummy.FindBranch("b")->GetEntries(), 2);
462-
EXPECT_EQ(atree.GetName(),
462+
EXPECT_EQ(TString(atree.GetName()),
463463
"ztree"); // As a side effect of trees with zero branches being ignored but it's name kept since it's first
464464
// in list, the first tree with branches (name) gets ztree's name.
465465
ASSERT_TRUE(atree.FindBranch("a"));

0 commit comments

Comments
 (0)