mirror of https://github.com/openclaw/openclaw.git
test: tighten node shell platform normalization
This commit is contained in:
parent
e3637253ef
commit
19edeb1aeb
|
|
@ -31,5 +31,6 @@ describe("buildNodeShellCommand", () => {
|
|||
expect(buildNodeShellCommand("echo hi", "linux")).toEqual(["/bin/sh", "-lc", "echo hi"]);
|
||||
expect(buildNodeShellCommand("echo hi")).toEqual(["/bin/sh", "-lc", "echo hi"]);
|
||||
expect(buildNodeShellCommand("echo hi", null)).toEqual(["/bin/sh", "-lc", "echo hi"]);
|
||||
expect(buildNodeShellCommand("echo hi", " ")).toEqual(["/bin/sh", "-lc", "echo hi"]);
|
||||
});
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in New Issue