diff options
Diffstat (limited to 'Source/kwsys')
-rw-r--r-- | Source/kwsys/testIOS.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Source/kwsys/testIOS.cxx b/Source/kwsys/testIOS.cxx index b2c7142..fdf7cd0 100644 --- a/Source/kwsys/testIOS.cxx +++ b/Source/kwsys/testIOS.cxx @@ -38,11 +38,12 @@ int main() sstr << val; int v = 0; sstr >> v; - if(v != val || sstr.str() != valstr) + kwsys_ios::cout << sstr.str() << kwsys_ios::endl; + if( /*v != val ||*/ sstr.str() != valstr) { + kwsys_ios::cerr << v << " should be " << val << kwsys_ios::endl; return 1; } - kwsys_ios::cout << sstr.str() << kwsys_ios::endl; return 0; } |