Browse Source

fix skipped Opcode test

patch-2
Manuel Araoz 11 years ago
parent
commit
2323e2a67a
  1. 4
      test/test.Opcode.js

4
test/test.Opcode.js

@ -20,12 +20,10 @@ describe('Opcode', function() {
var oc = new Opcode();
should.exist(oc);
});
it.skip('should be able to create some constants', function() {
it('should be able to create some constants', function() {
// TODO: test works in node but not in browser
for (var i in Opcode.map) {
console.log('var '+i + ' = ' + Opcode.map[i] + ';');
eval('var '+i + ' = ' + Opcode.map[i] + ';');
console.log(eval(i));
}
should.exist(OP_VER);
should.exist(OP_HASH160);

Loading…
Cancel
Save