diff --git a/test/opcode.js b/test/opcode.js index 150ef86..c060989 100644 --- a/test/opcode.js +++ b/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(''); + }); + }); });