forgot how partition worked
@@ -34,5 +34,5 @@ def test_poseidonshell():
shell.precmd('foo')
shell.close()
answer = PoseidonShell.completion(
- 'foo what ok yeah', 'what ok yeah', ['yeah'])
- assert answer == ['yeah']
+ 'what ok yeah', 'foo what ok yeah', ['what'])
+ assert answer == ['what']
