Changeset 928


Ignore:
Timestamp:
Sep 8, 2011, 7:12:16 PM (8 years ago)
Author:
sam
Message:

lolunit: tweak output formatting so that it more closely matches CppUnit.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/lol/unit.h

    r927 r928  
    108108            m_currentname = c->m_testname;
    109109            m_context.str("");
     110
     111            std::cout << '.';
    110112            (static_cast<FixtureClass *>(this)->*c->m_fun)();
    111             std::cout << (m_failure ? 'F' : '.');
     113            if (m_failure) std::cout << 'F';
    112114        }
    113115    }
     
    253255            m_errorlog << "- Expected: " << #a << " = " << (a) << std::endl; \
    254256            m_errorlog << "- Actual  : " << #b << " = " << (b) << std::endl; \
    255             m_errorlog << "- Delta   : " << #t << " = " << (t) << std::endl; \
     257            m_errorlog << "- Delta   : " << (t) << std::endl; \
    256258            m_errorlog << std::setprecision(old_prec); \
    257259            m_errorlog << message; \
Note: See TracChangeset for help on using the changeset viewer.