Skip to content

Commit f4068ec

Browse files
axicchriseth
authored andcommitted
Move test
1 parent f242ae1 commit f4068ec

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed

test/linker.js

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -139,17 +139,8 @@ tape('Linking', function (t) {
139139
st.ok(bytecode.indexOf('_') < 0);
140140
st.end();
141141
});
142-
});
143-
144-
tape('Linker via hash', function (t) {
145-
t.test('Non-hashed placeholder', function (st) {
146-
var bytecode = '6060604052341561000__lib2.sol:L____________________________66606060606060';
147-
bytecode = linker.linkBytecode(bytecode, { 'lib2.sol:L': '0x123456' });
148-
st.equal(bytecode, '6060604052341561000000000000000000000000000000000000012345666606060606060');
149-
st.end();
150-
});
151142

152-
t.test('Hashed placeholder', function (st) {
143+
t.test('hashed placeholder', function (st) {
153144
var bytecode = '6060604052341561000__cb901161e812ceb78cfe30ca65050c433771__66606060606060';
154145
bytecode = linker.linkBytecode(bytecode, { 'lib2.sol:L': '0x123456' });
155146
st.equal(bytecode, '6060604052341561000000000000000000000000000000000000012345666606060606060');

0 commit comments

Comments
 (0)