From d04971c864934eca3cfaba1374779c9603668d4a Mon Sep 17 00:00:00 2001 From: tmadlener Date: Thu, 12 Oct 2023 12:56:12 +0200 Subject: [PATCH] Remove test case that is covered in unittests --- tests/read_test.h | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/tests/read_test.h b/tests/read_test.h index 4761df401..cbbc02181 100644 --- a/tests/read_test.h +++ b/tests/read_test.h @@ -73,16 +73,6 @@ void processEvent(const podio::Frame& event, int eventNum, podio::version::Versi } } - try { - // not assigning to a variable, because it will remain unused, we just want - // the exception here - event.get("notthere"); - } catch (const std::runtime_error& err) { - if (std::string(err.what()) != "No collection \'notthere\' is present in the EventStore") { - throw std::runtime_error("Trying to get non present collection \'notthere' should throw an exception"); - } - } - // read collection meta data auto& hits = event.get("hits");