Closed rwaldron closed 9 years ago
Currently:
equal( value, expected, description ) { var result = value == expected; this.register( "equal", result, description, value, expected ); return !!result; }
But a default parameter definition could be used to define a simple, default "description":
equal( value, expected, description = `${value} is equal to ${expected}` ) { var result = value == expected; this.register( "equal", result, description, value, expected ); return !!result; }
Fixed on @16d8245
Currently:
But a default parameter definition could be used to define a simple, default "description":