diff --git a/src/checkother.cpp b/src/checkother.cpp index 11000a692..0b7a24885 100644 --- a/src/checkother.cpp +++ b/src/checkother.cpp @@ -1066,5 +1066,5 @@ void CheckOther::nullPointerError(const Token *tok) void CheckOther::zerodivError(const Token *tok) { - reportError(tok, "error", "zerodiv", "Division with zero"); + reportError(tok, "error", "zerodiv", "Division by zero"); } diff --git a/test/testother.cpp b/test/testother.cpp index bf1454eff..2353458b4 100644 --- a/test/testother.cpp +++ b/test/testother.cpp @@ -93,7 +93,7 @@ private: "}"); - ASSERT_EQUALS(std::string("[test.cpp:5]: (error) Division with zero\n"), errout.str()); + ASSERT_EQUALS(std::string("[test.cpp:5]: (error) Division by zero\n"), errout.str()); } void zeroDiv2()