Skip to content

Commit

Permalink
Fixes DeepScan error (#282)
Browse files Browse the repository at this point in the history
  • Loading branch information
ArnaudBuchholz committed Sep 8, 2018
1 parent 206d732 commit a3e4dca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/attributes/attributeforinstanceof.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ describe("attributes/attributeforinstanceof", function () {
var exceptionCaught;
try {
var attribute = new gpf.attributes.AttributeForInstanceOf();
assert(attribute);
throw new Error(attribute.toString());
} catch (e) {
exceptionCaught = e;
}
Expand All @@ -30,7 +30,7 @@ describe("attributes/attributeforinstanceof", function () {
var exceptionCaught;
try {
var attribute = new gpf.attributes.AttributeForInstanceOf(0);
assert(attribute);
throw new Error(attribute.toString());
} catch (e) {
exceptionCaught = e;
}
Expand Down

0 comments on commit a3e4dca

Please sign in to comment.