diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2020-09-18 14:01:51 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-18 14:01:51 +0200 |
commit | cb244f0b503f321cdb63e78ff2ea82da4192d868 (patch) | |
tree | 1f238a7b8399e43834a73fec91145a7434de7e8d /tests | |
parent | b1b56fd04551e20fc05b28e92bfa2b5d2641c8ac (diff) | |
parent | 3e78963bb95dec6c42415749e7e88699208dfba7 (diff) |
Merge pull request #42165 from akien-mga/codespell
Fix typos with codespell
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test_expression.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/test_expression.h b/tests/test_expression.h index 8c026a35f5..a3d4877d52 100644 --- a/tests/test_expression.h +++ b/tests/test_expression.h @@ -66,7 +66,7 @@ TEST_CASE("[Expression] Integer arithmetic") { "Integer / integer division should parse successfully."); CHECK_MESSAGE( int(expression.execute()) == 2, - "Integer / integer divsion should return the expected result."); + "Integer / integer division should return the expected result."); CHECK_MESSAGE( expression.parse("2 * (6 + 14) / 2 - 5") == OK, @@ -98,21 +98,21 @@ TEST_CASE("[Expression] Floating-point arithmetic") { "Float / integer division should parse successfully."); CHECK_MESSAGE( Math::is_equal_approx(float(expression.execute()), 0.3), - "Float / integer divsion should return the expected result."); + "Float / integer division should return the expected result."); CHECK_MESSAGE( expression.parse("3 / 10.0") == OK, "Basic integer / float division should parse successfully."); CHECK_MESSAGE( Math::is_equal_approx(float(expression.execute()), 0.3), - "Basic integer / float divsion should return the expected result."); + "Basic integer / float division should return the expected result."); CHECK_MESSAGE( expression.parse("3.0 / 10.0") == OK, "Float / float division should parse successfully."); CHECK_MESSAGE( Math::is_equal_approx(float(expression.execute()), 0.3), - "Float / float divsion should return the expected result."); + "Float / float division should return the expected result."); CHECK_MESSAGE( expression.parse("2.5 * (6.0 + 14.25) / 2.0 - 5.12345") == OK, |