Skip to content

Commit

Permalink
Skip broken FixIssue45 test
Browse files Browse the repository at this point in the history
Doesn't seem to work when running tests on dotnet 6's test runner
  • Loading branch information
ghorsington committed Nov 13, 2022
1 parent 5828af5 commit 1089fc4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions HarmonyTests/IL/Instructions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -267,8 +267,8 @@ static void Normalize(MethodBody body)
Assert.AreEqual(expectedIL, transpiledBody);
}

#if NETFRAMEWORK
[Test]
[Ignore("Doesn't work on .NET 6 emulating .NET 4.5 FW API")]
public void FixIssue45()
{
if (AccessTools.IsMonoRuntime)
Expand All @@ -283,6 +283,5 @@ public void FixIssue45()

Assert.AreEqual(29, new ILManipulator(body, false).GetRawInstructions().Count());
}
#endif
}
}

0 comments on commit 1089fc4

Please sign in to comment.