aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2017-05-25 18:52:31 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2017-05-25 18:52:31 +0800
commit5d64b562c60710e9b9b6a6286d4278718f043d0d (patch)
treeca0363e314dffc37da4e73b8aadf448d16a53048 /test
parent00a16b37e0bd3a394285cd887e8678fb7eb19149 (diff)
downloaddexon-sol-tools-5d64b562c60710e9b9b6a6286d4278718f043d0d.tar
dexon-sol-tools-5d64b562c60710e9b9b6a6286d4278718f043d0d.tar.gz
dexon-sol-tools-5d64b562c60710e9b9b6a6286d4278718f043d0d.tar.bz2
dexon-sol-tools-5d64b562c60710e9b9b6a6286d4278718f043d0d.tar.lz
dexon-sol-tools-5d64b562c60710e9b9b6a6286d4278718f043d0d.tar.xz
dexon-sol-tools-5d64b562c60710e9b9b6a6286d4278718f043d0d.tar.zst
dexon-sol-tools-5d64b562c60710e9b9b6a6286d4278718f043d0d.zip
Fix tests
Diffstat (limited to 'test')
-rw-r--r--test/0x.js.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/0x.js.ts b/test/0x.js.ts
index 26e56a18b..2da026694 100644
--- a/test/0x.js.ts
+++ b/test/0x.js.ts
@@ -56,7 +56,7 @@ describe('ZeroEx library', () => {
});
});
it('should return false if the data doesn\'t pertain to the signature & address', () => {
- const isValid = ZeroEx.isValidSignature('wrong data', signature, address);
+ const isValid = ZeroEx.isValidSignature('0x00', signature, address);
expect(isValid).to.be.false;
});
it('should return false if the address doesn\'t pertain to the signature & data', () => {