瀏覽代碼

fix reference to mock contract

Francisco Giordano 8 年之前
父節點
當前提交
00f80c726a
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      test/BasicToken.js

+ 1 - 1
test/BasicToken.js

@@ -33,7 +33,7 @@ contract('BasicToken', function(accounts) {
   });
 
   it('should throw an error when trying to transfer to 0x0', async function() {
-    let token = await StandardTokenMock.new(accounts[0], 100);
+    let token = await BasicTokenMock.new(accounts[0], 100);
     try {
       let transfer = await token.transfer(0x0, 100);
       assert.fail('should have thrown before');