Skip to content

Commit

Permalink
Fixed build script, compiled assertion, bumped lib version
Browse files Browse the repository at this point in the history
  • Loading branch information
norberttech committed Jul 27, 2017
1 parent 15520dd commit 08072e7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
2 changes: 0 additions & 2 deletions bin/AssertJS/Assert.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,6 @@ var Assert = function () {
throw _InvalidValueException2.default.expected("object", objectValue, message);
}

this.isFunction(expectedInstance, "Expected argument needs to be a valid class instead of that got \"${received}\". Most likely there is typo in class name or file with class is missing export declaration.");

if (!(objectValue instanceof expectedInstance)) {
throw _InvalidValueException2.default.expected(expectedInstance.name, objectValue, message.length ? message : "Expected instance of \"${expected}\" but got \"${received}\".");
}
Expand Down
Loading

0 comments on commit 08072e7

Please sign in to comment.