@@ -167,7 +167,8 @@ private static void VerifyDiagnosticResults(IEnumerable<Diagnostic> actualResult
167167 string message =
168168 string . Format (
169169 "Expected {0} additional locations but got {1} for Diagnostic:\r \n {2}\r \n " ,
170- expected . Locations . Length - 1 , additionalLocations . Length ,
170+ expected . Locations . Length - 1 ,
171+ additionalLocations . Length ,
171172 FormatDiagnostics ( analyzers , actual ) ) ;
172173 Assert . True ( false , message ) ;
173174 }
@@ -183,7 +184,9 @@ private static void VerifyDiagnosticResults(IEnumerable<Diagnostic> actualResult
183184 string message =
184185 string . Format (
185186 "Expected diagnostic id to be \" {0}\" was \" {1}\" \r \n \r \n Diagnostic:\r \n {2}\r \n " ,
186- expected . Id , actual . Id , FormatDiagnostics ( analyzers , actual ) ) ;
187+ expected . Id ,
188+ actual . Id ,
189+ FormatDiagnostics ( analyzers , actual ) ) ;
187190 Assert . True ( false , message ) ;
188191 }
189192
@@ -192,7 +195,9 @@ private static void VerifyDiagnosticResults(IEnumerable<Diagnostic> actualResult
192195 string message =
193196 string . Format (
194197 "Expected diagnostic severity to be \" {0}\" was \" {1}\" \r \n \r \n Diagnostic:\r \n {2}\r \n " ,
195- expected . Severity , actual . Severity , FormatDiagnostics ( analyzers , actual ) ) ;
198+ expected . Severity ,
199+ actual . Severity ,
200+ FormatDiagnostics ( analyzers , actual ) ) ;
196201 Assert . True ( false , message ) ;
197202 }
198203
@@ -201,7 +206,9 @@ private static void VerifyDiagnosticResults(IEnumerable<Diagnostic> actualResult
201206 string message =
202207 string . Format (
203208 "Expected diagnostic message to be \" {0}\" was \" {1}\" \r \n \r \n Diagnostic:\r \n {2}\r \n " ,
204- expected . Message , actual . GetMessage ( ) , FormatDiagnostics ( analyzers , actual ) ) ;
209+ expected . Message ,
210+ actual . GetMessage ( ) ,
211+ FormatDiagnostics ( analyzers , actual ) ) ;
205212 Assert . True ( false , message ) ;
206213 }
207214 }
@@ -224,7 +231,9 @@ private static void VerifyDiagnosticLocation(ImmutableArray<DiagnosticAnalyzer>
224231 string message =
225232 string . Format (
226233 "Expected diagnostic to be in file \" {0}\" was actually in file \" {1}\" \r \n \r \n Diagnostic:\r \n {2}\r \n " ,
227- expected . Path , actualSpan . Path , FormatDiagnostics ( analyzers , diagnostic ) ) ;
234+ expected . Path ,
235+ actualSpan . Path ,
236+ FormatDiagnostics ( analyzers , diagnostic ) ) ;
228237 Assert . True (
229238 actualSpan . Path == expected . Path || ( actualSpan . Path != null && actualSpan . Path . Contains ( "Test0." ) && expected . Path . Contains ( "Test." ) ) ,
230239 message ) ;
@@ -239,7 +248,9 @@ private static void VerifyDiagnosticLocation(ImmutableArray<DiagnosticAnalyzer>
239248 string message2 =
240249 string . Format (
241250 "Expected diagnostic to be on line \" {0}\" was actually on line \" {1}\" \r \n \r \n Diagnostic:\r \n {2}\r \n " ,
242- expected . Line , actualLinePosition . Line + 1 , FormatDiagnostics ( analyzers , diagnostic ) ) ;
251+ expected . Line ,
252+ actualLinePosition . Line + 1 ,
253+ FormatDiagnostics ( analyzers , diagnostic ) ) ;
243254 Assert . True ( false , message2 ) ;
244255 }
245256 }
@@ -252,7 +263,9 @@ private static void VerifyDiagnosticLocation(ImmutableArray<DiagnosticAnalyzer>
252263 string message2 =
253264 string . Format (
254265 "Expected diagnostic to start at column \" {0}\" was actually at column \" {1}\" \r \n \r \n Diagnostic:\r \n {2}\r \n " ,
255- expected . Column , actualLinePosition . Character + 1 , FormatDiagnostics ( analyzers , diagnostic ) ) ;
266+ expected . Column ,
267+ actualLinePosition . Character + 1 ,
268+ FormatDiagnostics ( analyzers , diagnostic ) ) ;
256269 Assert . True ( false , message2 ) ;
257270 }
258271 }
0 commit comments