From 942dd3fa6efe66d2d2562ebbba1f07fc998e1c6a Mon Sep 17 00:00:00 2001 From: de4dot Date: Fri, 24 May 2019 07:04:47 +0200 Subject: [PATCH] Update test --- Iced.UnitTests/Intel/DecoderTests/DecoderTest.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/Iced.UnitTests/Intel/DecoderTests/DecoderTest.cs b/Iced.UnitTests/Intel/DecoderTests/DecoderTest.cs index bc9dc3649..beb1050a8 100644 --- a/Iced.UnitTests/Intel/DecoderTests/DecoderTest.cs +++ b/Iced.UnitTests/Intel/DecoderTests/DecoderTest.cs @@ -196,6 +196,7 @@ namespace Iced.UnitTests.Intel.DecoderTests { decoder.Decode(out var instr); Assert.Equal(tc.Code, instr.Code); Assert.Equal(tc.Mnemonic, instr.Mnemonic); + Assert.Equal(instr.Mnemonic, instr.Code.ToMnemonic()); Assert.Equal(byteLength, instr.ByteLength); Assert.Equal(rip, instr.IP); Assert.Equal(decoder.IP, instr.NextIP);