Skip to content

Commit

Permalink
Add C# 12 test data
Browse files Browse the repository at this point in the history
  • Loading branch information
daviddotcs committed Dec 8, 2023
1 parent 1ade303 commit 35e50e5
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Test/SafeRouting.Tests.Unit/CommonTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ public Task EmptySourceProducesCommonOutput()
[Theory]
[InlineData(LanguageVersion.CSharp10)]
[InlineData(LanguageVersion.CSharp11)]
[InlineData(LanguageVersion.CSharp12)]
public Task GlobalUsingsGeneratedForSupportedLanguageVersions(LanguageVersion version)
{
return TestHelper.Verify("", languageVersion: version, parameters: new object[] { version });
Expand Down Expand Up @@ -321,6 +322,7 @@ public void OnGet(string name)
[InlineData(LanguageVersion.CSharp9)]
[InlineData(LanguageVersion.CSharp10)]
[InlineData(LanguageVersion.CSharp11)]
[InlineData(LanguageVersion.CSharp12)]
public Task SupportedLanguageVersionsBuild(LanguageVersion version)
{
return TestHelper.Verify("", languageVersion: version, parameters: new object[] { version });
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
//HintName: globalusings.g.cs
// <auto-generated/>

global using static SafeRouting.Extensions.RouteValueExtensions;
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
//HintName: globalusings.g.cs
// <auto-generated/>

global using static SafeRouting.Extensions.RouteValueExtensions;

0 comments on commit 35e50e5

Please sign in to comment.