Ignore:
Timestamp:
Feb 5, 2015, 9:00:33 AM (8 years ago)
Author:
Peter Johansson
Message:

fix inaccurate test code which caused spurious test failure; closes #527 (again!)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/0.10-stable/test/htmlstream.cc

    r1565 r1567  
    5555  // check that we can use stream 'out' directly without and that the
    5656  // output is not HTMLized
    57   out.clear();
    5857  out << in;
    59   if (out.str() != in) {
     58  if (out.str() != correct+in) {
    6059    suite.out() << "error incorrect behaviour of base stream: ";
    61     suite.out() << "'" << in << " gives '" << out.str() << "'\n";
    62     suite.out() << "expected '" << in << "'\n";
     60    suite.out() << "output: '" << out.str() << "'; ";
     61    suite.out() << "expected '" << correct+in << "'\n";
    6362    suite.add(false);
    6463  }
Note: See TracChangeset for help on using the changeset viewer.