Browse Source

fix: spelling in a test

Angello Pozo 8 years ago
parent
commit
38545eb648
1 changed files with 2 additions and 2 deletions
  1. 2 2
      test/Bounty.js

+ 2 - 2
test/Bounty.js

@@ -79,9 +79,9 @@ contract('Bounty', function(accounts) {
     it("checkInvariant returns false", async function(){
       let bounty = await InsecureTargetBounty.new();
       let target = await bounty.createTarget();
-      let invarriantCall = await bounty.checkInvariant.call();
+      let invariantCall = await bounty.checkInvariant.call();
 
-      assert.isFalse(invarriantCall);
+      assert.isFalse(invariantCall);
     })
 
     it("claims reward", async function(done){