Skip to content

Commit

Permalink
Use new span source
Browse files Browse the repository at this point in the history
  • Loading branch information
jjonescz committed Jul 15, 2024
1 parent 5b0ace4 commit 0cf46ef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Compilers/CSharp/Test/Emit3/FirstClassSpanTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -600,10 +600,10 @@ static class C
public static void M2(span::System.ReadOnlySpan<int> s) => System.Console.Write(s[0]);
}
""";
var spanDll = CreateCompilation(SpanSource, options: TestOptions.UnsafeReleaseDll)
var spanDll = CreateCompilation(TestSources.Span, options: TestOptions.UnsafeReleaseDll)
.VerifyDiagnostics()
.EmitToImageReference(aliases: ["span"]);
var verifier = CompileAndVerify([source, SpanSource],
var verifier = CompileAndVerify([source, TestSources.Span],
references: [spanDll],
expectedOutput: "12",
verify: Verification.Fails,
Expand Down

0 comments on commit 0cf46ef

Please sign in to comment.