Added Option tests.
[command.git] / tests / option / handles_string_value.cpp
index 574b5c5adfe7ed5d8a4a6d44cab6c508ee9b8aa2..4b276ec6844235fb7bb742ff85f565a19f56eb46 100644 (file)
@@ -26,14 +26,14 @@ int main() {
         option.handle();
     }
     else {
-        cout << "Option class do not understand string values\n";
+        cout << option.describe() << " do not understand string values\n";
         return 1;
     }
 
     int cmp = strcmp(test.c_str(), VALUE);
 
     if (cmp == 0) {
-        cout << "Option class handles string values\n";
+        cout << option.describe() << " handles string values\n";
         return 0;
     }