Prevent dupe test case warning

This commit is contained in:
de4dot 2018-09-21 18:55:35 +02:00
parent 13661dd077
commit 34e958b1d1
1 changed files with 3 additions and 1 deletions

View File

@ -189,7 +189,9 @@ namespace Iced.UnitTests.Intel.DecoderTests {
[Fact] [Fact]
void Test16_Add_rm16_r16_2() { void Test16_Add_rm16_r16_2() {
var decoder = CreateDecoder16("01 18"); // Add an extra space here to prevent duplicate test case warning. The modrm tests have the same test case,
// and all of these tests are used by the encoder.
var decoder = CreateDecoder16("01 18 ");
var instr = decoder.Decode(); var instr = decoder.Decode();
Assert.Equal(Code.Add_rm16_r16, instr.Code); Assert.Equal(Code.Add_rm16_r16, instr.Code);