Rustyline shell autocompletion test

[tester::#WH6] Pressed “” (expecting autocomplete to “xyz_ant xyz_bee xyz_owl”)
[tester::#WH6] ^ Line does not match expected value.
[tester::#WH6] Expected: “$ xyz_”
[tester::#WH6] Received: “$ xyz_xyz_ant xyz_bee xyz_owl”

it says expecting for ‘xyz_ant xyz_bee xyz_owl‘ but then the code expects ‘$'(prompt) xyz_‘

Hey @m-epasta, looks like the completion output is being printed on the same line as the prompt. Adding a newline should fix the formatting.

To clarify, the tester expects the prompt line to remain unchanged. We definitely should improve the error message to make this clearer.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.