You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
.FailWith(AppendDiagnosticsTo($"The command output did not contain expected result: {pattern}{Environment.NewLine}"));
53
+
_commandResult.StdOut.Should().Contain(pattern,AppendDiagnosticsTo($"The command output did not contain expected result: {pattern}{Environment.NewLine}"));
.FailWith(AppendDiagnosticsTo($"The command output did not contain expected result: {description}{Environment.NewLine}"));
59
+
predicate(_commandResult.StdOut!).Should().BeTrue(AppendDiagnosticsTo($"The command output did not contain expected result: {description}{Environment.NewLine}"));
.FailWith(AppendDiagnosticsTo($"The command output contained a result it should not have contained: {pattern}{Environment.NewLine}"));
65
+
_commandResult.StdOut.Should().NotContain(pattern,AppendDiagnosticsTo($"The command output contained a result it should not have contained: {pattern}{Environment.NewLine}"));
.FailWith(AppendDiagnosticsTo($"The command output contained a result it should not have contained (ignoring case): {pattern}{Environment.NewLine}"));
71
+
_commandResult.StdOut.Should().NotContainEquivalentOf(pattern,AppendDiagnosticsTo($"The command output contained a result it should not have contained (ignoring case): {pattern}{Environment.NewLine}"));
commandResultNoSpaces.Should().Contain(pattern,AppendDiagnosticsTo($"The command output did not contain expected result: {pattern}{Environment.NewLine}"));
.FailWith(AppendDiagnosticsTo($"The command output did not contain expected result (ignoring case): {pattern}{Environment.NewLine}"));
84
+
_commandResult.StdOut.Should().ContainEquivalentOf(pattern,AppendDiagnosticsTo($"The command output did not contain expected result (ignoring case): {pattern}{Environment.NewLine}"));
.FailWith(AppendDiagnosticsTo($"The command output matched a pattern it should not have. Pattern: {pattern}{Environment.NewLine}"));
96
+
_commandResult.StdOut.Should().NotMatchRegex(pattern,AppendDiagnosticsTo($"The command output matched a pattern it should not have contained: {pattern}{Environment.NewLine}"));
.FailWith(AppendDiagnosticsTo($"The command error output did not contain expected result: {pattern}{Environment.NewLine}"));
108
+
_commandResult.StdErr.Should().Contain(pattern,AppendDiagnosticsTo($"The command error output did not contain expected result: {pattern}{Environment.NewLine}"));
.FailWith(AppendDiagnosticsTo($"The command error output contained a result it should not have contained: {pattern}{Environment.NewLine}"));
114
+
_commandResult.StdErr.Should().NotContain(pattern,AppendDiagnosticsTo($"The command error output contained a result it should not have contained: {pattern}{Environment.NewLine}"));
.FailWith(AppendDiagnosticsTo($"The command error output contained a result it should not have contained (ignoring case): {pattern}{Environment.NewLine}"));
120
+
_commandResult.StdErr.Should().NotContainEquivalentOf(pattern,AppendDiagnosticsTo($"The command error output contained a result it should not have contained (ignoring case): {pattern}{Environment.NewLine}"));
0 commit comments