From 90002786a43a475606874717798e2dd1b3d1a406 Mon Sep 17 00:00:00 2001 From: Eyck Jentzsch Date: Thu, 4 Apr 2024 22:41:37 +0200 Subject: [PATCH] fixes wrong expectation --- tests/cci_param_restricted/test.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/cci_param_restricted/test.cpp b/tests/cci_param_restricted/test.cpp index f045524..0ffa6b5 100644 --- a/tests/cci_param_restricted/test.cpp +++ b/tests/cci_param_restricted/test.cpp @@ -29,12 +29,12 @@ TEST_CASE("simple cci_param_restricted test", "[SCC][cci_param_restricted]") { auto& dut = factory::get(); auto run1 = sc_spawn([&dut]() { - wait(1_ns); + sc_core::wait(1_ns); sc_core::sc_stop(); }); sc_start(10_ns); REQUIRE(run1.terminated()); REQUIRE(sc_report_handler::get_count(SC_ERROR) == 0); - REQUIRE(sc_report_handler::get_count(SC_WARNING) == 1); + REQUIRE(sc_report_handler::get_count(SC_WARNING) == 0); }