From dcfab8476f436d981c64cdb0edcadfa4a077da1a Mon Sep 17 00:00:00 2001 From: Alex Shovlin Date: Fri, 15 Dec 2023 10:40:40 -0500 Subject: [PATCH] test: Fix test that was asserting against error message after #1638 fixed typos. --- .../SourceGeneratorTests.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Libraries/test/Amazon.Lambda.Annotations.SourceGenerators.Tests/SourceGeneratorTests.cs b/Libraries/test/Amazon.Lambda.Annotations.SourceGenerators.Tests/SourceGeneratorTests.cs index 7adac86d5..6361970c5 100644 --- a/Libraries/test/Amazon.Lambda.Annotations.SourceGenerators.Tests/SourceGeneratorTests.cs +++ b/Libraries/test/Amazon.Lambda.Annotations.SourceGenerators.Tests/SourceGeneratorTests.cs @@ -1147,7 +1147,7 @@ public async Task ComplexQueryParameters_AreNotSupported() ExpectedDiagnostics = { DiagnosticResult.CompilerError("AWSLambda0109").WithSpan($"TestServerlessApp{Path.DirectorySeparatorChar}ComplexQueryParameter.cs", 11, 9, 16, 10) - .WithMessage("Unsupported query paramter 'person' of type 'TestServerlessApp.Person' encountered. Only primitive .NET types and their corresponding enumerables can be used as query parameters.") + .WithMessage("Unsupported query parameter 'person' of type 'TestServerlessApp.Person' encountered. Only primitive .NET types and their corresponding enumerable can be used as query parameters.") }, ReferenceAssemblies = ReferenceAssemblies.Net.Net60 }