From 28fd96839f327c407b2af8ed0e375f2fd13629d0 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 ff011c8853fff..d742425b32d61 100644 --- a/tree/ntuple/v7/test/ntuple_basics.cxx +++ b/tree/ntuple/v7/test/ntuple_basics.cxx @@ -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()); }