Skip to content

Commit

Permalink
[ntuple] Add missing test for REntry::GetSchemaId()
Browse files Browse the repository at this point in the history
This is used for REntry::EnsureMatchingModel().
  • Loading branch information
hahnjo committed Nov 26, 2024
1 parent 4506f5e commit 28fd968
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tree/ntuple/v7/test/ntuple_basics.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -685,6 +685,7 @@ TEST(REntry, Basics)

auto e = model->CreateEntry();
EXPECT_EQ(e->GetModelId(), model->GetModelId());
EXPECT_EQ(e->GetSchemaId(), model->GetSchemaId());
for (const auto &v : *e) {
EXPECT_STREQ("pt", v.GetField().GetFieldName().c_str());
}
Expand Down

0 comments on commit 28fd968

Please sign in to comment.