From c373768f71756bda85613d5a4611e0f3696fa0f9 Mon Sep 17 00:00:00 2001 From: HavenDV Date: Mon, 23 Sep 2024 05:26:09 +0400 Subject: [PATCH] test: Fixed. --- ...eneratesCorrectly_Diagnostics.verified.txt | 32 ++++++++++++------- ...ests.VariousTypes_Diagnostics.verified.txt | 32 ++++++++++++------- 2 files changed, 42 insertions(+), 22 deletions(-) diff --git a/src/tests/Anthropic.SnapshotTests/Snapshots/IpcGeneratorSnapshotTests.GeneratesCorrectly_Diagnostics.verified.txt b/src/tests/Anthropic.SnapshotTests/Snapshots/IpcGeneratorSnapshotTests.GeneratesCorrectly_Diagnostics.verified.txt index 04152c4..1a0e5ca 100644 --- a/src/tests/Anthropic.SnapshotTests/Snapshots/IpcGeneratorSnapshotTests.GeneratesCorrectly_Diagnostics.verified.txt +++ b/src/tests/Anthropic.SnapshotTests/Snapshots/IpcGeneratorSnapshotTests.GeneratesCorrectly_Diagnostics.verified.txt @@ -1,17 +1,27 @@ [ { - Id: CS8019, - Title: Unnecessary using directive, + Location: /* + +using System.Collections.Generic; +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + +*/ + Anthropic.Generators\Anthropic.Generators.AnthropicToolsGenerator\IWeatherFunctions.Calls.generated.cs: (1,0)-(1,33), + Message: Unnecessary using directive., Severity: Hidden, WarningLevel: 1, - Location: Anthropic.Generators\Anthropic.Generators.AnthropicToolsGenerator\IWeatherFunctions.Calls.generated.cs: (1,0)-(1,33), - HelpLink: https://msdn.microsoft.com/query/roslyn.query?appId=roslyn&k=k(CS8019), - MessageFormat: Unnecessary using directive., - Message: Unnecessary using directive., - Category: Compiler, - CustomTags: [ - Compiler, - Telemetry - ] + Descriptor: { + Id: CS8019, + Title: Unnecessary using directive, + HelpLink: https://msdn.microsoft.com/query/roslyn.query?appId=roslyn&k=k(CS8019), + MessageFormat: Unnecessary using directive., + Category: Compiler, + DefaultSeverity: Hidden, + IsEnabledByDefault: true, + CustomTags: [ + Compiler, + Telemetry + ] + } } ] \ No newline at end of file diff --git a/src/tests/Anthropic.SnapshotTests/Snapshots/IpcGeneratorSnapshotTests.VariousTypes_Diagnostics.verified.txt b/src/tests/Anthropic.SnapshotTests/Snapshots/IpcGeneratorSnapshotTests.VariousTypes_Diagnostics.verified.txt index 7cb252c..6c0f1f3 100644 --- a/src/tests/Anthropic.SnapshotTests/Snapshots/IpcGeneratorSnapshotTests.VariousTypes_Diagnostics.verified.txt +++ b/src/tests/Anthropic.SnapshotTests/Snapshots/IpcGeneratorSnapshotTests.VariousTypes_Diagnostics.verified.txt @@ -1,17 +1,27 @@ [ { - Id: CS8019, - Title: Unnecessary using directive, + Location: /* + +using System.Collections.Generic; +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + +*/ + Anthropic.Generators\Anthropic.Generators.AnthropicToolsGenerator\IVariousTypesFunctions.Calls.generated.cs: (1,0)-(1,33), + Message: Unnecessary using directive., Severity: Hidden, WarningLevel: 1, - Location: Anthropic.Generators\Anthropic.Generators.AnthropicToolsGenerator\IVariousTypesFunctions.Calls.generated.cs: (1,0)-(1,33), - HelpLink: https://msdn.microsoft.com/query/roslyn.query?appId=roslyn&k=k(CS8019), - MessageFormat: Unnecessary using directive., - Message: Unnecessary using directive., - Category: Compiler, - CustomTags: [ - Compiler, - Telemetry - ] + Descriptor: { + Id: CS8019, + Title: Unnecessary using directive, + HelpLink: https://msdn.microsoft.com/query/roslyn.query?appId=roslyn&k=k(CS8019), + MessageFormat: Unnecessary using directive., + Category: Compiler, + DefaultSeverity: Hidden, + IsEnabledByDefault: true, + CustomTags: [ + Compiler, + Telemetry + ] + } } ] \ No newline at end of file