mirror of https://github.com/KLayout/klayout.git
Updating tests
This commit is contained in:
parent
ca9b1d779d
commit
c6b2dba847
|
|
@ -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)
|
||||
|
|
@ -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));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -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));
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue