aboutsummaryrefslogtreecommitdiff
path: root/tests/standard-version/driver.cxx
diff options
context:
space:
mode:
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;
}