test: remove duplicate systemd exec-start split assertion

This commit is contained in:
Peter Steinberger
2026-02-16 06:27:19 +00:00
parent ac02e45a88
commit cb998aa7f9

View File

@@ -161,17 +161,6 @@ describe("splitArgsPreservingQuotes", () => {
});
describe("parseSystemdExecStart", () => {
it("splits on whitespace outside quotes", () => {
const execStart = "/usr/bin/openclaw gateway start --foo bar";
expect(parseSystemdExecStart(execStart)).toEqual([
"/usr/bin/openclaw",
"gateway",
"start",
"--foo",
"bar",
]);
});
it("preserves quoted arguments", () => {
const execStart = '/usr/bin/openclaw gateway start --name "My Bot"';
expect(parseSystemdExecStart(execStart)).toEqual([