Skip to content
This repository has been archived by the owner on Nov 6, 2020. It is now read-only.

Remove invalid slice test #3712

Merged
merged 1 commit into from
Dec 2, 2016
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions js/src/abi/util/slice.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,6 @@ describe('abi/util/slice', () => {
const slice1 = '131a3afc00d1b1e3461b955e53fc866dcf303b3eb9f4c16f89e388930f48134b';
const slice2 = '2124768576358735263578356373526387638357635873563586353756358763';

it('throws an error on mod 64 != 0', () => {
expect(() => sliceData('123')).to.throw(/sliceData/);
});

it('returns an empty array when length === 0', () => {
expect(sliceData('')).to.deep.equal([]);
});
Expand Down