From eca1d89972fd5a3311f5921d9753fc948516576c Mon Sep 17 00:00:00 2001 From: Lucas Trzesniewski Date: Sun, 17 Nov 2024 17:14:46 +0100 Subject: [PATCH] Update test packages --- .../RazorBlade.Analyzers.Tests.csproj | 12 ++++++------ ...s.should_reject_model_directive.verified.txt | 17 ++++++++++------- ...ld_reject_tag_helper_directives.verified.txt | 17 ++++++++++------- .../RazorBlade.Library.Tests.csproj | 6 +++--- 4 files changed, 29 insertions(+), 23 deletions(-) diff --git a/src/RazorBlade.Analyzers.Tests/RazorBlade.Analyzers.Tests.csproj b/src/RazorBlade.Analyzers.Tests/RazorBlade.Analyzers.Tests.csproj index 0075d12..cc00e27 100644 --- a/src/RazorBlade.Analyzers.Tests/RazorBlade.Analyzers.Tests.csproj +++ b/src/RazorBlade.Analyzers.Tests/RazorBlade.Analyzers.Tests.csproj @@ -10,13 +10,13 @@ - - - + + + - - - + + + diff --git a/src/RazorBlade.Analyzers.Tests/RazorBladeSourceGeneratorTests.should_reject_model_directive.verified.txt b/src/RazorBlade.Analyzers.Tests/RazorBladeSourceGeneratorTests.should_reject_model_directive.verified.txt index 182d0b6..a6a037a 100644 --- a/src/RazorBlade.Analyzers.Tests/RazorBladeSourceGeneratorTests.should_reject_model_directive.verified.txt +++ b/src/RazorBlade.Analyzers.Tests/RazorBladeSourceGeneratorTests.should_reject_model_directive.verified.txt @@ -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, - 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, + 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, - 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, + MessageFormat: The @model directive is not supported in RazorBlade due to lack of IDE support. Use the @inherits directive instead: @inherits RazorBlade.HtmlTemplate, + Category: RazorBlade, + DefaultSeverity: Error, + IsEnabledByDefault: true + } } ] } \ No newline at end of file diff --git a/src/RazorBlade.Analyzers.Tests/RazorBladeSourceGeneratorTests.should_reject_tag_helper_directives.verified.txt b/src/RazorBlade.Analyzers.Tests/RazorBladeSourceGeneratorTests.should_reject_tag_helper_directives.verified.txt index 86faeb1..ffe0d83 100644 --- a/src/RazorBlade.Analyzers.Tests/RazorBladeSourceGeneratorTests.should_reject_tag_helper_directives.verified.txt +++ b/src/RazorBlade.Analyzers.Tests/RazorBladeSourceGeneratorTests.should_reject_tag_helper_directives.verified.txt @@ -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 + } } ] } \ No newline at end of file diff --git a/src/RazorBlade.Library.Tests/RazorBlade.Library.Tests.csproj b/src/RazorBlade.Library.Tests/RazorBlade.Library.Tests.csproj index 09bb09d..16d8d46 100644 --- a/src/RazorBlade.Library.Tests/RazorBlade.Library.Tests.csproj +++ b/src/RazorBlade.Library.Tests/RazorBlade.Library.Tests.csproj @@ -8,10 +8,10 @@ - - + + - +