Parcourir la source

Fix use case of 2 esc in a row

tznind il y a 11 mois
Parent
commit
88922c2f43
1 fichiers modifiés avec 2 ajouts et 1 suppressions
  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)