mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Squashed 'libjsqrc/ethereumjs/' changes from a8a2e32..589c4fb
589c4fb formatInput && formatOutput simplified b20e972 few methods moved to utils git-subtree-dir: libjsqrc/ethereumjs git-subtree-split: 589c4fb30f2e68972b898c5ce084cda5b0831266
This commit is contained in:
parent
9475733a2d
commit
8cbaec5ce6
@ -1,7 +1,7 @@
|
|||||||
var assert = require('assert');
|
var assert = require('assert');
|
||||||
var abi = require('../lib/abi.js');
|
var utils = require('../lib/utils.js');
|
||||||
|
|
||||||
describe('abi', function() {
|
describe('utils', function() {
|
||||||
it('should filter functions and events from input array properly', function () {
|
it('should filter functions and events from input array properly', function () {
|
||||||
|
|
||||||
// given
|
// given
|
||||||
@ -36,8 +36,8 @@ describe('abi', function() {
|
|||||||
}];
|
}];
|
||||||
|
|
||||||
// when
|
// when
|
||||||
var events = abi.filterEvents(description);
|
var events = utils.filterEvents(description);
|
||||||
var functions = abi.filterFunctions(description);
|
var functions = utils.filterFunctions(description);
|
||||||
|
|
||||||
// then
|
// then
|
||||||
assert.equal(events.length, 1);
|
assert.equal(events.length, 1);
|
Loading…
Reference in New Issue
Block a user