Skip to content

Commit

Permalink
Update test packages
Browse files Browse the repository at this point in the history
  • Loading branch information
ltrzesniewski committed Nov 17, 2024
1 parent 7ef1a7c commit eca1d89
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 23 deletions.
12 changes: 6 additions & 6 deletions src/RazorBlade.Analyzers.Tests/RazorBlade.Analyzers.Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="Microsoft.CodeAnalysis.CSharp" Version="4.10.0" NoWarn="NU1608" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.10.0" />
<PackageReference Include="NUnit" Version="4.1.0" />
<PackageReference Include="Microsoft.CodeAnalysis.CSharp" Version="4.11.0" NoWarn="NU1608" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.11.1" />
<PackageReference Include="NUnit" Version="4.2.2" />
<PackageReference Include="NUnit3TestAdapter" Version="4.6.0" />
<PackageReference Include="Verify.DiffPlex" Version="3.1.0" />
<PackageReference Include="Verify.NUnit" Version="26.0.1" />
<PackageReference Include="Verify.SourceGenerators" Version="2.2.0" />
<PackageReference Include="Verify.DiffPlex" Version="3.1.2" />
<PackageReference Include="Verify.NUnit" Version="28.3.1" />
<PackageReference Include="Verify.SourceGenerators" Version="2.5.0" />
</ItemGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,14 +1,17 @@
{
Diagnostics: [
{
Id: RB0002,
Title: The @model directive is not supported in RazorBlade due to lack of IDE support. Use the @inherits directive instead: @inherits RazorBlade.HtmlTemplate<FooBar>,
Severity: Error,
WarningLevel: 0,
Location: ./TestFile.cshtml: (0,0)-(0,13),
MessageFormat: The @model directive is not supported in RazorBlade due to lack of IDE support. Use the @inherits directive instead: @inherits RazorBlade.HtmlTemplate<FooBar>,
Location: .\TestFile.cshtml: (0,0)-(0,13),
Message: The @model directive is not supported in RazorBlade due to lack of IDE support. Use the @inherits directive instead: @inherits RazorBlade.HtmlTemplate<FooBar>,
Category: RazorBlade
Severity: Error,
Descriptor: {
Id: RB0002,
Title: The @model directive is not supported in RazorBlade due to lack of IDE support. Use the @inherits directive instead: @inherits RazorBlade.HtmlTemplate<FooBar>,
MessageFormat: The @model directive is not supported in RazorBlade due to lack of IDE support. Use the @inherits directive instead: @inherits RazorBlade.HtmlTemplate<FooBar>,
Category: RazorBlade,
DefaultSeverity: Error,
IsEnabledByDefault: true
}
}
]
}
Original file line number Diff line number Diff line change
@@ -1,14 +1,17 @@
{
Diagnostics: [
{
Id: RB0005,
Title: Tag helpers are not supported in RazorBlade.,
Severity: Error,
WarningLevel: 0,
Location: ./TestFile.cshtml: (0,0)-(0,20),
MessageFormat: Tag helpers are not supported in RazorBlade.,
Location: .\TestFile.cshtml: (0,0)-(0,20),
Message: Tag helpers are not supported in RazorBlade.,
Category: RazorBlade
Severity: Error,
Descriptor: {
Id: RB0005,
Title: Tag helpers are not supported in RazorBlade.,
MessageFormat: Tag helpers are not supported in RazorBlade.,
Category: RazorBlade,
DefaultSeverity: Error,
IsEnabledByDefault: true
}
}
]
}
6 changes: 3 additions & 3 deletions src/RazorBlade.Library.Tests/RazorBlade.Library.Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.10.0" />
<PackageReference Include="NUnit" Version="4.1.0" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.11.1" />
<PackageReference Include="NUnit" Version="4.2.2" />
<PackageReference Include="NUnit3TestAdapter" Version="4.6.0" />
<PackageReference Include="System.Threading.Tasks.Extensions" Version="4.5.4" Condition="'$(TargetFrameworkIdentifier)' == '.NETFramework'" />
<PackageReference Include="System.Threading.Tasks.Extensions" Version="4.6.0" Condition="'$(TargetFrameworkIdentifier)' == '.NETFramework'" />
</ItemGroup>

</Project>

0 comments on commit eca1d89

Please sign in to comment.