Skip to content

Commit

Permalink
Updating tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthias Koefferlein committed Sep 18, 2024
1 parent ca9b1d7 commit c6b2dba
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 c6b2dba

Please sign in to comment.