Skip to content

Commit

Permalink
Fix RegisterMaskGp tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ZehMatt committed Oct 23, 2021
1 parent b3a01c0 commit 0db97e9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/Dotx64DbgManagedTests/Tests/Tests.RegisterMaskGp.cs
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ public void TestMask()

AssertEq(mask.Count, 2);

Register[] regs;
mask.GetRegisters(out regs);
var regs = mask.GetRegisters();
AssertEq(regs.Length, 2);

#if _X64_
AssertEq(regs[0], Register.Rax);
Expand Down Expand Up @@ -60,8 +60,8 @@ public void TestMask2()

AssertEq(mask.Count, 2);

Register[] regs;
mask.GetRegisters(out regs);
var regs = mask.GetRegisters();
AssertEq(regs.Length, 2);

#if _X64_
AssertEq(regs[0], Register.Rax);
Expand Down

0 comments on commit 0db97e9

Please sign in to comment.