Skip to content

Commit

Permalink
fix(unit tests): fix test for Error class
Browse files Browse the repository at this point in the history
  • Loading branch information
TheRealPad committed Feb 28, 2024
1 parent cd77b3e commit 71a2a7e
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion tests/Error.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ TEST(Error, ThrowDivisionError)
throw ErrorCalculator::Error(ErrorCalculator::Error::DIVISION_BY_0);
} catch (ErrorCalculator::Error &e) {
result = true;
EXPECT_EQ(e.what(), "Division by 0");
}
EXPECT_EQ(result, true);
}
Expand Down

0 comments on commit 71a2a7e

Please sign in to comment.