Diff
Not logged in

Differences From Artifact [de7560f1ecccee67]:

To Artifact [314aad0104b85557]:


54 54 { 55 55 void assertOp(A, B, string fn=__FILE__, size_t ln=__LINE__)(A a, B b, string msg="") 56 56 { 57 57 try 58 58 { if( mixin("a"~op~"b") ) return; } 59 59 catch(Throwable e) 60 60 { onAssertErrorMsg(fn, ln, msg.length ? msg : "exception ["~e.toString()~"]"); } 61 - onAssertErrorMsg(fn, ln, msg.length ? msg : to!string(a)~" !"~op~to!string(b)); 61 + onAssertErrorMsg(fn, ln, msg.length ? msg : to!string(a)~" !"~op~" "~to!string(b)); 62 62 } 63 63 } 64 64 65 65 alias assertOp!(`==`) assert_eq; 66 66 alias assertOp!(`!=`) assert_ne; 67 67 alias assertOp!(`<`) assert_lt; 68 68 alias assertOp!(`<=`) assert_le;