Skip to content
This repository has been archived by the owner on Dec 8, 2018. It is now read-only.

Commit

Permalink
Adds a missing ToList() in assert code.
Browse files Browse the repository at this point in the history
  • Loading branch information
anpete committed Jun 1, 2017
1 parent 4b5d690 commit fc1dbbb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,7 @@ public async Task Pass_thru_when_context_not_in_services()
}
});

Assert.True(logProvider.Logger.Messages.Any(m =>
Assert.True(logProvider.Logger.Messages.ToList().Any(m =>
m.StartsWith(StringsHelpers.GetResourceString("FormatDatabaseErrorPageMiddleware_ContextNotRegistered", typeof(BloggingContext)))));
}

Expand Down

0 comments on commit fc1dbbb

Please sign in to comment.