================
@@ -80,7 +80,13 @@ def test_command_abbreviations_and_aliases(self):
         # Check a command that wants the raw input.
         command_interpreter.ResolveCommand(r"""sc print("\n\n\tHello!\n")""", 
result)
         self.assertTrue(result.Succeeded())
----------------
JDevlieghere wrote:

You could test all the prefixes with something like this:

```
str = 'script'
for i in range(2, len(str)):
    command = str[0:i]
    self.assertEqual(command ...)
```

https://github.com/llvm/llvm-project/pull/97263
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to