Browse Source

Add test for Opcode.inspect

patch-2
Trevin Hofmann 10 years ago
parent
commit
2b137cc17c
  1. 5
      test/opcode.js

5
test/opcode.js

@ -143,5 +143,10 @@ describe('Opcode', function() {
});
describe('#inspect', function() {
it('should output opcode by name, hex, and decimal', function() {
Opcode.fromString('OP_NOP').inspect().should.equal('<Opcode: OP_NOP, hex: 61, decimal: 97>');
});
});
});

Loading…
Cancel
Save