#if NET_4_5
[Test]
- public void Foo ()
+ public void RedirectedTest ()
{
+ if (Console.IsErrorRedirected) {
+ Assert.Ignore ("The error output stream of the console is redirected.");
+ }
+
Console.SetError (TextWriter.Null);
Assert.IsFalse (Console.IsErrorRedirected);
}