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

@@ -368,14 +368,14 @@ std::string taskDifferences (const Task& before, const Task& after)
foreach (name, beforeOnly)
out << " - "
<< *name
<< " will be deleted\n";
<< " will be deleted.\n";
foreach (name, afterOnly)
out << " - "
<< *name
<< " will be set to '"
<< renderAttribute (*name, after.get (*name))
<< "'\n";
<< "'.\n";
foreach (name, beforeAtts)
if (*name != "uuid" &&
@@ -386,11 +386,11 @@ std::string taskDifferences (const Task& before, const Task& after)
<< renderAttribute (*name, before.get (*name))
<< "' to '"
<< renderAttribute (*name, after.get (*name))
<< "'\n";
<< "'.\n";
// Shouldn't just say nothing.
if (out.str ().length () == 0)
out << " - No changes will be made\n";
out << " - No changes will be made.\n";
return out.str ();
}