More graceful output from failed verification
This commit is contained in:
@@ -157,7 +157,7 @@ void TransportSender<MyState>::tick( void )
|
||||
MyState newstate( assumed_receiver_state->state );
|
||||
newstate.apply_string( diff );
|
||||
if ( current_state.compare( newstate ) ) {
|
||||
fprintf( stderr, "Diff: %s\n", diff.c_str() );
|
||||
fprintf( stderr, "Warning, round-trip Instruction verification failed!\n" );
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -589,8 +589,7 @@ bool Cell::compare( const Cell &other ) const
|
||||
|
||||
if ( !(renditions == other.renditions) ) {
|
||||
ret = true;
|
||||
fprintf( stderr, "renditions: %s vs. %s\n",
|
||||
renditions.sgr().c_str(), other.renditions.sgr().c_str() );
|
||||
fprintf( stderr, "renditions differ\n" );
|
||||
}
|
||||
|
||||
if ( wrap != other.wrap ) {
|
||||
|
||||
Reference in New Issue
Block a user