From a3e4dcaefcae261788bebba32059f8a78cf5ee7b Mon Sep 17 00:00:00 2001 From: ArnaudBuchholz Date: Sat, 8 Sep 2018 09:23:02 -0400 Subject: [PATCH] Fixes DeepScan error (#282) --- test/attributes/attributeforinstanceof.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/attributes/attributeforinstanceof.js b/test/attributes/attributeforinstanceof.js index 21962a65..062cdc34 100644 --- a/test/attributes/attributeforinstanceof.js +++ b/test/attributes/attributeforinstanceof.js @@ -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; } @@ -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; }