division with zero => division by zero

This commit is contained in:
Daniel Marjamäki 2009-03-29 20:27:10 +02:00
parent d7aee72fcd
commit 263c5b9e5a
2 changed files with 2 additions and 2 deletions

View File

@ -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");
}

View File

@ -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()