aboutsummaryrefslogtreecommitdiff
path: root/tests/base64/driver.cxx
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2019-03-13 00:38:34 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2019-03-13 13:58:03 +0300
commita82ec3c21ac680e5bf9614bdcf50ea78a52542ce (patch)
tree343ac89888ac8e4eca5899d0cec7f2cb512aee64 /tests/base64/driver.cxx
parent83ee2939cb9b6766bbf0df60347be2da6d6f0adf (diff)
Add workarounds for all cl releases until 20.00
Diffstat (limited to 'tests/base64/driver.cxx')
-rw-r--r--tests/base64/driver.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/base64/driver.cxx b/tests/base64/driver.cxx
index 7870424..7746637 100644
--- a/tests/base64/driver.cxx
+++ b/tests/base64/driver.cxx
@@ -44,6 +44,8 @@ encode (const string& i, const string& o)
is.clear ();
#endif
+ assert (!is.eof ());
+
ostringstream os;
base64_encode (os, is);
r = os.str () == o && is.eof ();