aboutsummaryrefslogtreecommitdiff
path: root/tests/standard-version/driver.cxx
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2017-04-29 17:39:33 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2017-04-29 17:39:33 +0300
commite23a88afad10600ffcafb359b43c31e20791dcf9 (patch)
tree29955f3a6c3483549030b093860c1a73106fbbd3 /tests/standard-version/driver.cxx
parent332c4e09b11b010a6ad50468230758d0874dbd60 (diff)
Fix standard version stub to differ from empty version
Diffstat (limited to 'tests/standard-version/driver.cxx')
-rw-r--r--tests/standard-version/driver.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/standard-version/driver.cxx b/tests/standard-version/driver.cxx
index 677ea8e..943bd31 100644
--- a/tests/standard-version/driver.cxx
+++ b/tests/standard-version/driver.cxx
@@ -147,7 +147,7 @@ try
string s;
while (getline (cin, s))
- cout << version (s) << endl;
+ cout << (s.empty () ? standard_version () : version (s)) << endl;
return 0;
}