aboutsummaryrefslogtreecommitdiffstats
path: root/packages/contracts/test
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2018-06-12 05:42:30 +0800
committerFabio Berger <me@fabioberger.com>2018-06-12 05:42:30 +0800
commite1879ef4d91fc58203d9748eca38695b79c43674 (patch)
tree0a9a68927d5dc769b0c5cb2c5d9445849fb56e7c /packages/contracts/test
parentb6df727efb74084a849330273a44cfc5ae3a85af (diff)
downloaddexon-sol-tools-e1879ef4d91fc58203d9748eca38695b79c43674.tar
dexon-sol-tools-e1879ef4d91fc58203d9748eca38695b79c43674.tar.gz
dexon-sol-tools-e1879ef4d91fc58203d9748eca38695b79c43674.tar.bz2
dexon-sol-tools-e1879ef4d91fc58203d9748eca38695b79c43674.tar.lz
dexon-sol-tools-e1879ef4d91fc58203d9748eca38695b79c43674.tar.xz
dexon-sol-tools-e1879ef4d91fc58203d9748eca38695b79c43674.tar.zst
dexon-sol-tools-e1879ef4d91fc58203d9748eca38695b79c43674.zip
Fix no-unused-variable tslint rule to include parameters and fix issues
Diffstat (limited to 'packages/contracts/test')
-rw-r--r--packages/contracts/test/libraries/lib_mem.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/contracts/test/libraries/lib_mem.ts b/packages/contracts/test/libraries/lib_mem.ts
index 90d54edcb..00f7c4d8b 100644
--- a/packages/contracts/test/libraries/lib_mem.ts
+++ b/packages/contracts/test/libraries/lib_mem.ts
@@ -30,7 +30,7 @@ describe('LibMem', () => {
const memHex = toHex(memory);
// Reference implementation to test against
- const refMemcpy = (mem: Uint8Array, dest: number, source: number, length: number): Uint8Array =>
+ const refMemcpy = (_mem: Uint8Array, dest: number, source: number, length: number): Uint8Array =>
Uint8Array.from(memory).copyWithin(dest, source, source + length);
// Test vectors: destination, source, length, job description