Skip to content

Commit 973eb11

Browse files
committed
Remove useless test.
1 parent 98d9927 commit 973eb11

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

UnitTestPSReadLine/UnitTestReadLine.cs

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1417,18 +1417,6 @@ public void TestUselessStuffForBetterCoverage()
14171417
exception = true;
14181418
}
14191419
Assert.IsTrue(exception, "CreateCharBuffer invalid arugment raised an exception");
1420-
1421-
using (ShimsContext.Create())
1422-
{
1423-
PSConsoleUtilities.Fakes.ShimPSConsoleReadLine.AllInstances.ConsoleBufferGet = x => null;
1424-
PSConsoleReadLine.SetBufferState("a", 1);
1425-
Console.CursorLeft = 0;
1426-
PSConsoleReadLine.SetBufferState("a", -1);
1427-
AssertCursorLeftIs(0);
1428-
Console.CursorLeft = 0;
1429-
PSConsoleReadLine.SetBufferState("a", 11);
1430-
AssertCursorLeftIs(1);
1431-
}
14321420
}
14331421

14341422
[TestMethod]

0 commit comments

Comments
 (0)