Improve lambda signature formatting

This commit is contained in:
Alexander Kozlenko
2017-12-22 01:26:18 +02:00
committed by Ben Adams
parent b5b3a19b66
commit e5ef6c5fac
4 changed files with 9 additions and 9 deletions

View File

@@ -34,7 +34,7 @@ namespace Demystify
Assert.Equal(
new[] {
"System.Exception: Exception of type 'System.Exception' was thrown. ---> System.Exception: Exception of type 'System.Exception' was thrown.",
" at Task Demystify.NonThrownException.DoesNotPreventThrowStackTrace()+()=>{}",
" at Task Demystify.NonThrownException.DoesNotPreventThrowStackTrace()+() => { }",
" at async Task Demystify.NonThrownException.DoesNotPreventThrowStackTrace()",
" --- End of inner exception stack trace ---"},
trace);
@@ -57,7 +57,7 @@ namespace Demystify
Assert.Equal(
new[] {
"System.Exception: Exception of type 'System.Exception' was thrown. ---> System.Exception: Exception of type 'System.Exception' was thrown.",
" at Task Demystify.NonThrownException.DoesNotPreventThrowStackTrace()+()=>{}",
" at Task Demystify.NonThrownException.DoesNotPreventThrowStackTrace()+() => { }",
" at async Task Demystify.NonThrownException.DoesNotPreventThrowStackTrace()",
" --- End of inner exception stack trace ---",
" at async Task Demystify.NonThrownException.DoesNotPreventThrowStackTrace()"