From 8028763d07af36e8ae9953ea29fdfec7a2d24675 Mon Sep 17 00:00:00 2001 From: Omar Awile Date: Mon, 12 Apr 2021 15:25:16 +0200 Subject: [PATCH] Fix test --- test/unit/modtoken/modtoken.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/unit/modtoken/modtoken.cpp b/test/unit/modtoken/modtoken.cpp index ceaa025510..6af6298584 100644 --- a/test/unit/modtoken/modtoken.cpp +++ b/test/unit/modtoken/modtoken.cpp @@ -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"); } } @@ -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); } }