Skip to content

Commit

Permalink
Remove Roslyn workaround in NativeAOT smoke test (#67795)
Browse files Browse the repository at this point in the history
Might not be needed after #67780.
  • Loading branch information
MichalStrehovsky authored Apr 9, 2022
1 parent 1094cee commit 3537bf2
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/tests/nativeaot/SmokeTests/UnitTests/Interfaces.cs
Original file line number Diff line number Diff line change
Expand Up @@ -941,15 +941,12 @@ static void TestSimpleInterface<T>(string expected) where T : ISimple
throw new Exception($"{actual} != {expected}");
}

// Uncomment after we pick up fix for https://github.com/dotnet/roslyn/issues/60069
#if false
Func<string> del = T.GetCookie;
actual = del();
if (actual != expected)
{
throw new Exception($"{actual} != {expected}");
}
#endif
}

static void TestSimpleInterfaceWithGenericMethod<T, U>(string expected) where T : ISimple
Expand Down

0 comments on commit 3537bf2

Please sign in to comment.