Utils/Console: Introduce senf::console::str()
[senf.git] / senf / Utils / Console / ParsedCommand.test.cc
index 31f8cee..698c6da 100644 (file)
@@ -43,7 +43,7 @@
 namespace {
 
     int cb1(int a, double b) { return int(a+b); }
-    double cb2(){ return 1.2; }
+    double cb2() { return 1.2; }
     void cb3(int i) { }
     std::string cb4(std::ostream & os) { os << "text\n"; return "value"; }
     void cb5(std::ostream & os, std::string const & v) { os << "Value: " << v << "\n"; }
@@ -222,7 +222,7 @@ BOOST_AUTO_UNIT_TEST(parsedCommand)
             "    checkup   Florgel, dargel and durgel\n"
             "        default: (double) 2.1\n"
             "    text      \n"
-            "        default: (empty)\n"
+            "        default: \"\"\n"
             "\n"
             "Ops fortunate, ops me ut orgia vociferatio contumax per, rudo re loco emitto\n"
             "intolerabiliter ita iugo. Subcribo gravo. Devenio luna fonticulus Castanea\n"