This commit is contained in:
lutinglt committed 2026-06-07 19:40:01 +08:00
1 parent 6d2c510148
commit 638ff37b27
1 file changed
+2 -2
+2 -2
View File
@@ -164,10 +164,10 @@ describe("cssCombine", () => {
expect(combined).toBe("");
});
it("多个空字符串合并 (join 产生换行)", () => {
it("多个空字符串合并不产生额外换行", () => {
const combined = cssCombine(css``, css``);
// join("\n") of two empty strings = "\n"
expect(combined).toBe("\n");
expect(combined).toBe("");
});
it("保持合并顺序", () => {