Skip to content

Commit

Permalink
Test Fix: Fix DependencyGraphTest.UnattachedFunctionWarning
Browse files Browse the repository at this point in the history
This test was broken by changing the exception message to include a newline char in 0a7456e
  • Loading branch information
ptheywood committed Dec 4, 2024
1 parent 9c1a371 commit 29e5e5d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_cases/model/test_dependency_graph.cu
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 29e5e5d

Please sign in to comment.