Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
Omar Awile committed Sep 20, 2023
1 parent 9fb4266 commit 8028763
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/unit/modtoken/modtoken.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -47,14 +47,14 @@ TEST_CASE("NMODL Lexer returning valid ModToken object", "[token][modtoken]") {
std::stringstream ss;
symbol_type("text", value);
ss << *(value.get_token());
REQUIRE(ss.str() == " text at [1.1-4] type 342");
REQUIRE(ss.str() == " text at [1.1-4] type 358");
}

{
std::stringstream ss;
symbol_type(" some_text", value);
ss << *(value.get_token());
REQUIRE(ss.str() == " some_text at [1.3-11] type 342");
REQUIRE(ss.str() == " some_text at [1.3-11] type 358");
}
}

Expand All @@ -64,7 +64,7 @@ TEST_CASE("NMODL Lexer returning valid ModToken object", "[token][modtoken]") {
std::stringstream ss;
symbol_type("h'' = ", value);
ss << *(value.get_token());
REQUIRE(ss.str() == " h'' at [1.1-3] type 349");
REQUIRE(ss.str() == " h'' at [1.1-3] type 365");
REQUIRE(value.get_order()->eval() == 2);
}
}
Expand Down

0 comments on commit 8028763

Please sign in to comment.