aboutsummaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
authorBrandon Millman <brandon.millman@gmail.com>2018-08-06 09:02:10 +0800
committerBrandon Millman <brandon.millman@gmail.com>2018-08-06 09:02:10 +0800
commit0bc775cdb8617fea73c87eaff015bf3d2dfadb42 (patch)
treeb7463a93285da5cb33aa20b47503a6f7ca106da7 /packages
parent2273798df9c5b625a678fefaa2f49e7e1cb99d0f (diff)
downloaddexon-sol-tools-0bc775cdb8617fea73c87eaff015bf3d2dfadb42.tar
dexon-sol-tools-0bc775cdb8617fea73c87eaff015bf3d2dfadb42.tar.gz
dexon-sol-tools-0bc775cdb8617fea73c87eaff015bf3d2dfadb42.tar.bz2
dexon-sol-tools-0bc775cdb8617fea73c87eaff015bf3d2dfadb42.tar.lz
dexon-sol-tools-0bc775cdb8617fea73c87eaff015bf3d2dfadb42.tar.xz
dexon-sol-tools-0bc775cdb8617fea73c87eaff015bf3d2dfadb42.tar.zst
dexon-sol-tools-0bc775cdb8617fea73c87eaff015bf3d2dfadb42.zip
Remove 0x test case from hexSchema test
Diffstat (limited to 'packages')
-rw-r--r--packages/json-schemas/test/schema_test.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/json-schemas/test/schema_test.ts b/packages/json-schemas/test/schema_test.ts
index d202b5643..f84553df1 100644
--- a/packages/json-schemas/test/schema_test.ts
+++ b/packages/json-schemas/test/schema_test.ts
@@ -89,7 +89,7 @@ describe('Schema', () => {
validateAgainstSchema(testCases, hexSchema);
});
it('should fail for invalid hex string', () => {
- const testCases = ['0x', '0', '0xzzzzzzB11a196601eD2ce54B665CaFEca0347D42'];
+ const testCases = ['0', '0xzzzzzzB11a196601eD2ce54B665CaFEca0347D42'];
const shouldFail = true;
validateAgainstSchema(testCases, hexSchema, shouldFail);
});