Skip to content

Commit

Permalink
Update InnerVerifier_Inner.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonCropp committed Oct 16, 2023
1 parent 7eceea5 commit 4b72b8b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/Verify/Verifier/InnerVerifier_Inner.cs
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,7 @@ async Task<VerifyResult> VerifyInner(object? root, Func<Task>? cleanup, IEnumera

async Task<(List<Target> extra, Func<Task> cleanup)> GetTargets(IEnumerable<Target> targets, bool doExpressionConversion)
{
var list = targets.Concat(VerifierSettings.GetFileAppenders(settings))
.ToList();
List<Target> list = [..targets, ..VerifierSettings.GetFileAppenders(settings)];
var cleanup = () => Task.CompletedTask;
if (doExpressionConversion)
{
Expand Down

0 comments on commit 4b72b8b

Please sign in to comment.