2
0
Эх сурвалжийг харах

Fix use case of 2 esc in a row

tznind 11 сар өмнө
parent
commit
88922c2f43

+ 2 - 1
UnitTests/ConsoleDrivers/AnsiResponseParserTests.cs

@@ -180,8 +180,9 @@ public class AnsiResponseParserTests (ITestOutputHelper output)
         AssertReleased (input, ref i, "\x1B",0);
 
         // Assume 50ms or something has passed, lets force release as no new content
+
         // It should be the second escape that gets released (i.e. index 1)
-        AssertManualReleaseIs (input,1);
+        AssertManualReleaseIs ("\x1B",1);
     }
 
     private Tuple<char, int> [] StringToBatch (string batch)