Skip to content

Commit

Permalink
Issue: added an isMessage test (closes #676).
Browse files Browse the repository at this point in the history
  • Loading branch information
agarny committed Jul 29, 2020
2 parents b63e727 + 6ca0f7e commit e137bae
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions tests/issue/issue.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -580,6 +580,13 @@ TEST(Issue, isHint)
EXPECT_EQ(e->level(), libcellml::Issue::Level::HINT);
}

TEST(Issue, isMessage)
{
auto e = libcellml::Issue::create();
e->setLevel(libcellml::Issue::Level::MESSAGE);
EXPECT_EQ(e->level(), libcellml::Issue::Level::MESSAGE);
}

TEST(Issue, url)
{
auto expectedUrl = "https://cellml-specification.readthedocs.io/en/latest/reference/formal_and_informative/specB01.html?issue=2.1.1";
Expand Down

0 comments on commit e137bae

Please sign in to comment.