Browse Source

Fix use case of 2 esc in a row

tznind 10 months ago
parent
commit
88922c2f43
1 changed files with 2 additions and 1 deletions
  1. 2 1
      UnitTests/ConsoleDrivers/AnsiResponseParserTests.cs

+ 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)