From 750661069a9f77f89b21f3f9318c697ff7d7a45b Mon Sep 17 00:00:00 2001 From: Ricardo Guilherme Schmidt <3esmit@gmail.com> Date: Sun, 13 May 2018 23:34:50 -0300 Subject: [PATCH] fix test utils --- utils/testUtils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/testUtils.js b/utils/testUtils.js index b182728..75ddb06 100644 --- a/utils/testUtils.js +++ b/utils/testUtils.js @@ -191,7 +191,7 @@ exports.ensureException = function(error) { assert(isException(error), error.toString()); }; -exports.isException = function(error) { +function isException(error) { let strError = error.toString(); return strError.includes('invalid opcode') || strError.includes('invalid JUMP') || strError.includes('revert'); }