cs-codex-dist-tests/DistTestCore/DownloadedLogExtensions.cs

14 lines
344 B
C#
Raw Normal View History

2023-09-12 13:43:30 +00:00
using Core;
using NUnit.Framework;
namespace DistTestCore
{
public static class DownloadedLogExtensions
{
public static void AssertLogContains(this IDownloadedLog log, string expectedString)
{
Assert.That(log.DoesLogContain(expectedString), $"Did not find '{expectedString}' in log.");
}
}
}