Skip to content

Commit dcfab84

Browse files
committed
test: Fix test that was asserting against error message after #1638 fixed typos.
1 parent 3d8678b commit dcfab84

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Libraries/test/Amazon.Lambda.Annotations.SourceGenerators.Tests/SourceGeneratorTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1147,7 +1147,7 @@ public async Task ComplexQueryParameters_AreNotSupported()
11471147
ExpectedDiagnostics =
11481148
{
11491149
DiagnosticResult.CompilerError("AWSLambda0109").WithSpan($"TestServerlessApp{Path.DirectorySeparatorChar}ComplexQueryParameter.cs", 11, 9, 16, 10)
1150-
.WithMessage("Unsupported query paramter 'person' of type 'TestServerlessApp.Person' encountered. Only primitive .NET types and their corresponding enumerables can be used as query parameters.")
1150+
.WithMessage("Unsupported query parameter 'person' of type 'TestServerlessApp.Person' encountered. Only primitive .NET types and their corresponding enumerable can be used as query parameters.")
11511151
},
11521152
ReferenceAssemblies = ReferenceAssemblies.Net.Net60
11531153
}

0 commit comments

Comments
 (0)