diff --git a/tree/ntuple/test/ntuple_show.cxx b/tree/ntuple/test/ntuple_show.cxx index e3d26bb98bb53..61b6d43834fb6 100644 --- a/tree/ntuple/test/ntuple_show.cxx +++ b/tree/ntuple/test/ntuple_show.cxx @@ -167,7 +167,7 @@ TEST(RNTupleShow, Vectors) std::ostringstream os; ntuple2->Show(0, os); // clang-format off - std::string fString{ + std::string fString{ R"({ "intVec": [4, 5, 6], "floatVecVec": [[0.1, 0.2], [1.1, 1.2]], @@ -312,7 +312,7 @@ TEST(RNTupleShow, Objects) std::ostringstream os; ntuple2->Show(0, os); // clang-format off - std::string fString{ + std::string fString{ R"({ "CustomStruct": { "a": 4.1, @@ -642,24 +642,3 @@ R"({ // clang-format on EXPECT_EQ(os1.str(), expected); } - -TEST(RNTupleShow, Friends) -{ - FileRaii fileGuard1("test_ntuple_show_friends1.ntuple"); - { - auto model = RNTupleModel::Create(); - auto foo = model->MakeField("foo"); - auto writer = RNTupleWriter::Recreate(std::move(model), "ntpl1", fileGuard1.GetPath()); - *foo = 3.14; - writer->Fill(); - } - - FileRaii fileGuard2("test_ntuple_show_friends2.ntuple"); - { - auto model = RNTupleModel::Create(); - auto bar = model->MakeField("bar"); - auto writer = RNTupleWriter::Recreate(std::move(model), "ntpl2", fileGuard2.GetPath()); - *bar = 2.72; - writer->Fill(); - } -}