Removed test case

slider-bug
ioedeveloper 4 years ago
parent 062d91838e
commit d538e02abb
  1. 4
      libs/remix-debug/test/decoder/contracts/structArrayLocal.js
  2. 4
      libs/remix-debug/test/decoder/localsTests/structArray.js

@ -79,10 +79,6 @@ contract structArrayLocal {
arrayStruct.b[1] = -23; arrayStruct.b[1] = -23;
arrayStruct.b[2] = -3; arrayStruct.b[2] = -3;
arrayStruct.c = enumdef.three; arrayStruct.c = enumdef.three;
bytes32[] memory dynamic = new bytes32[](2);
dynamic[0] = 0x7465737400000000000000000000000000000000000000000000000000000000;
dynamic[1] = 0x7465737400000000000000000000000000000000000000000000000000000000;
} }
} }
`} `}

@ -30,7 +30,7 @@ module.exports = function (st, vm, privateKey, contractBytecode, compilationResu
st.fail(error) st.fail(error)
}) })
callTree.event.register('callTreeReady', (scopes, scopeStarts) => { callTree.event.register('callTreeReady', (scopes, scopeStarts) => {
helper.decodeLocals(st, 1719, traceManager, callTree, function (locals) { helper.decodeLocals(st, 1622, traceManager, callTree, function (locals) {
try { try {
st.equals(locals['bytesSimple'].length, '0x14') st.equals(locals['bytesSimple'].length, '0x14')
st.equals(locals['bytesSimple'].value, '0x746573745f7375706572') st.equals(locals['bytesSimple'].value, '0x746573745f7375706572')
@ -91,8 +91,6 @@ module.exports = function (st, vm, privateKey, contractBytecode, compilationResu
st.equals(locals['arrayStruct'].value.b.value[1].value, '-23') st.equals(locals['arrayStruct'].value.b.value[1].value, '-23')
st.equals(locals['arrayStruct'].value.b.value[2].value, '-3') st.equals(locals['arrayStruct'].value.b.value[2].value, '-3')
st.equals(locals['arrayStruct'].value.c.value, 'three') st.equals(locals['arrayStruct'].value.c.value, 'three')
st.equals(locals['dynamic'].value[0], '0x74657374')
st.equals(locals['dynamic'].value[1], '0x74657374')
st.equals(Object.keys(locals).length, 8) st.equals(Object.keys(locals).length, 8)
} catch (e) { } catch (e) {

Loading…
Cancel
Save