Ignore:
Timestamp:
Feb 5, 2015, 3:05:51 AM (7 years ago)
Author:
Peter Johansson
Message:

Extend test of HtmlStream? to expose bug introduced in changeset r1563. refs #527.

File:
1 edited

Legend:

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

    r1164 r1565  
    22
    33/*
    4   Copyright (C) 2009, 2010 Peter Johansson
     4  Copyright (C) 2009, 2010, 2015 Peter Johansson
    55
    66  This file is part of svndigest, http://dev.thep.lu.se/svndigest
     
    5252    suite.add(false);
    5353  }
     54
     55  // check that we can use stream 'out' directly without and that the
     56  // output is not HTMLized
     57  out.clear();
     58  out << in;
     59  if (out.str() != in) {
     60    suite.out() << "error incorrect behaviour of base stream: ";
     61    suite.out() << "'" << in << " gives '" << out.str() << "'\n";
     62    suite.out() << "expected '" << in << "'\n";
     63    suite.add(false);
     64  }
    5465}
Note: See TracChangeset for help on using the changeset viewer.