diff options
author | Marek Kotewicz <marek.kotewicz@gmail.com> | 2015-01-28 21:20:36 +0800 |
---|---|---|
committer | Marek Kotewicz <marek.kotewicz@gmail.com> | 2015-01-28 21:20:36 +0800 |
commit | ea7c2fc673db31f96583e4712aa0fb78f5d709eb (patch) | |
tree | 120cf378eec0bc7549fe8128d62766964cb0cf6b /test/abi.parsers.js | |
parent | 63d9c070ef7637a3d570a5a45ea931c1680ebc02 (diff) | |
download | go-tangerine-ea7c2fc673db31f96583e4712aa0fb78f5d709eb.tar go-tangerine-ea7c2fc673db31f96583e4712aa0fb78f5d709eb.tar.gz go-tangerine-ea7c2fc673db31f96583e4712aa0fb78f5d709eb.tar.bz2 go-tangerine-ea7c2fc673db31f96583e4712aa0fb78f5d709eb.tar.lz go-tangerine-ea7c2fc673db31f96583e4712aa0fb78f5d709eb.tar.xz go-tangerine-ea7c2fc673db31f96583e4712aa0fb78f5d709eb.tar.zst go-tangerine-ea7c2fc673db31f96583e4712aa0fb78f5d709eb.zip |
abi function type
Diffstat (limited to 'test/abi.parsers.js')
-rw-r--r-- | test/abi.parsers.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/abi.parsers.js b/test/abi.parsers.js index b7a05cea3..12bccf5a5 100644 --- a/test/abi.parsers.js +++ b/test/abi.parsers.js @@ -5,6 +5,7 @@ var clone = function (object) { return JSON.parse(JSON.stringify(object)); }; var description = [{ "name": "test", + "type": "function", "inputs": [{ "name": "a", "type": "uint256" @@ -339,10 +340,12 @@ describe('abi', function() { // given var d = [{ name: "test", + type: "function", inputs: [{ type: "int" }], outputs: [{ type: "int" }] },{ name: "test2", + type: "function", inputs: [{ type: "string" }], outputs: [{ type: "string" }] }]; @@ -775,10 +778,12 @@ describe('abi', function() { // given var d = [{ name: "test", + type: "function", inputs: [{ type: "int" }], outputs: [{ type: "int" }] },{ name: "test2", + type: "function", inputs: [{ type: "string" }], outputs: [{ type: "string" }] }]; |