Unit Test

- Reworded new error message to more closely match an old error message,
  modified unit test accordingly.
This commit is contained in:
Paul Beckingham 2011-05-08 16:28:36 -04:00
parent 949e702c98
commit 00125c19d1
2 changed files with 2 additions and 2 deletions

View file

@ -87,7 +87,7 @@ Column* Column::factory (const std::string& name, const std::string& report)
else if (column_name == "uuid") column = new ColumnUUID ();
else if (column_name == "wait") column = new ColumnWait ();
else
throw std::string ("Unrecognized column type '") + column_name + "'";
throw std::string ("Unrecognized column name '") + column_name + "'";
column->setReport (report);
column->setStyle (column_style);