From 263c5b9e5a25b7764a0accb3b2fac0cc5a86489e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Marjam=C3=A4ki?= Date: Sun, 29 Mar 2009 20:27:10 +0200 Subject: [PATCH] division with zero => division by zero --- src/checkother.cpp | 2 +- test/testother.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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()