Skip to content

Commit

Permalink
Merge branch 'wip' into better-not-break
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthias Koefferlein committed Sep 18, 2024
2 parents a20611b + c6b2dba commit 45a2803
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/plugins/streamers/oasis/unit_tests/dbOASISReaderTests.cc
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ run_test_error (tl::TestBase *_this, const char *test, const char *msg_au)
error = true;
}
EXPECT_EQ (error, true)
EXPECT_EQ (msg, msg_au)
EXPECT_EQ (msg.find (msg_au), size_t (0));
}

TEST(1_1)
Expand Down Expand Up @@ -635,7 +635,7 @@ TEST(Bug_1474)
// Seen when private test data is not installed
throw;
} catch (tl::Exception &ex) {
EXPECT_EQ (ex.msg (), "Cell named ADDHX2 with ID 4 was already given name SEDFFTRX2 (position=763169, cell=)");
EXPECT_EQ (ex.msg ().find ("Cell named ADDHX2 with ID 4 was already given name SEDFFTRX2 (position=763169, cell=)"), size_t (0));
}
}

Expand Down Expand Up @@ -678,6 +678,6 @@ TEST(DuplicateCellname)
// Seen when private test data is not installed
throw;
} catch (tl::Exception &ex) {
EXPECT_EQ (ex.msg (), "Same cell name TOP, but different IDs: 3 and 0 (position=1070, cell=)");
EXPECT_EQ (ex.msg ().find ("Same cell name TOP, but different IDs: 3 and 0 (position=1070, cell=)"), size_t (0));
}
}

0 comments on commit 45a2803

Please sign in to comment.