From 53d35ca2443b0b01eb15fa483a1017a4154bfe55 Mon Sep 17 00:00:00 2001 From: Jonas Hahnfeld Date: Tue, 26 Nov 2024 13:56:42 +0100 Subject: [PATCH] [ntuple] Add missing test for REntry::GetSchemaId() This is used for REntry::EnsureMatchingModel(). --- tree/ntuple/v7/test/ntuple_basics.cxx | 1 + 1 file changed, 1 insertion(+) diff --git a/tree/ntuple/v7/test/ntuple_basics.cxx b/tree/ntuple/v7/test/ntuple_basics.cxx index 2fbd2758643ca..411693df39684 100644 --- a/tree/ntuple/v7/test/ntuple_basics.cxx +++ b/tree/ntuple/v7/test/ntuple_basics.cxx @@ -687,6 +687,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()); }