def test_split_inline_commands_unexpected_token(repl: Riposte): with pytest.raises(CommandError): repl._split_inline_commands("foo bar;;")
def test_split_inline_commands(input, expected, repl: Riposte): assert repl._split_inline_commands(input) == expected