Skip to content

Commit

Permalink
pushResult() doesn't ever return a value: it's always undefined/void.
Browse files Browse the repository at this point in the history
Also tweak a class method to help it generate legible JavaScript code.

# Conflicts:
#	src/assert.js
  • Loading branch information
GerHobbelt authored and trentmwillis committed Jul 30, 2018
1 parent 64e8f24 commit 0e4e9a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/assert.js
Expand Up @@ -36,7 +36,7 @@ class Assert {
result = false;
}

return this.pushResult( {
this.pushResult( {
result,
message: assertionMessage
} );
Expand Down

0 comments on commit 0e4e9a2

Please sign in to comment.