Fix linux CI break (#10610)

This commit is contained in:
Ben Adams 2019-05-29 22:52:13 +01:00 committed by Brennan
parent 456dbf1309
commit 231bd526ad
1 changed files with 4 additions and 3 deletions

View File

@ -1,6 +1,7 @@
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.Diagnostics;
using TestHelper;
@ -43,9 +44,9 @@ namespace Microsoft.AspNetCore.Components.Analyzers.Test
}}
}}" + ComponentsTestDeclarations.Source;
var message = @"Component type 'ConsoleApplication1.TypeName' defines properties multiple parameters with CaptureUnmatchedValues. Properties:
ConsoleApplication1.TypeName.MyOtherProperty
ConsoleApplication1.TypeName.MyProperty";
var message = @"Component type 'ConsoleApplication1.TypeName' defines properties multiple parameters with CaptureUnmatchedValues. Properties: " + Environment.NewLine +
"ConsoleApplication1.TypeName.MyOtherProperty" + Environment.NewLine +
"ConsoleApplication1.TypeName.MyProperty";
VerifyCSharpDiagnostic(test,
new DiagnosticResult