From 29e5e5d8021de568db10f642d1d2e1c1d549891c Mon Sep 17 00:00:00 2001 From: Peter Heywood Date: Wed, 4 Dec 2024 17:37:15 +0000 Subject: [PATCH] Test Fix: Fix DependencyGraphTest.UnattachedFunctionWarning This test was broken by changing the exception message to include a newline char in 0a7456eacc2a755e41f4a3d608dae71a265cf252 --- tests/test_cases/model/test_dependency_graph.cu | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_cases/model/test_dependency_graph.cu b/tests/test_cases/model/test_dependency_graph.cu index aa79630c3..b22d2cf96 100644 --- a/tests/test_cases/model/test_dependency_graph.cu +++ b/tests/test_cases/model/test_dependency_graph.cu @@ -535,7 +535,7 @@ TEST(DependencyGraphTest, UnattachedFunctionWarning) { _m.generateLayers(); // Reset cerr std::cerr.rdbuf(prev); - EXPECT_EQ(buffer.str(), "WARNING: Not all agent functions are used in the dependency graph - have you forgotten to add one?"); + EXPECT_EQ(buffer.str(), "WARNING: Not all agent functions are used in the dependency graph - have you forgotten to add one?\n"); } TEST(DependencyGraphTest, ModelAlreadyHasLayers) { ModelDescription _m(MODEL_NAME);