Bug #433 - Missing punctuation in some command output

- Made punctuation consistent throughout the code and addressed a few
    broken tests.
This commit is contained in:
Cory Donnelly 2010-07-18 19:06:07 -04:00
parent c43eb31374
commit d6a2c1872c
19 changed files with 81 additions and 78 deletions

View file

@ -303,7 +303,7 @@ void Hooks::initialize ()
(void) n.skip (',');
}
else
throw std::string ("Malformed hook definition '") + *it + "'";
throw std::string ("Malformed hook definition '") + *it + "'.";
}
}
}
@ -331,7 +331,7 @@ bool Hooks::trigger (const std::string& event)
return false;
}
else
throw std::string ("Unrecognized hook event '") + event + "'";
throw std::string ("Unrecognized hook event '") + event + "'.";
}
}
#endif
@ -358,7 +358,7 @@ bool Hooks::trigger (const std::string& event, std::vector <Task>& tasks)
return false;
}
else
throw std::string ("Unrecognized hook event '") + event + "'";
throw std::string ("Unrecognized hook event '") + event + "'.";
}
}
#endif
@ -385,7 +385,7 @@ bool Hooks::trigger (const std::string& event, Task& task)
return false;
}
else
throw std::string ("Unrecognized hook event '") + event + "'";
throw std::string ("Unrecognized hook event '") + event + "'.";
}
}
#endif
@ -415,7 +415,7 @@ bool Hooks::trigger (
return false;
}
else
throw std::string ("Unrecognized hook event '") + event + "'";
throw std::string ("Unrecognized hook event '") + event + "'.";
}
}
#endif