opencode-miniterm 1.0.7 → 1.0.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/render.ts +1 -0
- package/test/render.test.ts +2 -2
package/package.json
CHANGED
package/src/render.ts
CHANGED
package/test/render.test.ts
CHANGED
|
@@ -346,8 +346,8 @@ describe("wrapText", () => {
|
|
|
346
346
|
});
|
|
347
347
|
|
|
348
348
|
it("should preserve indents", () => {
|
|
349
|
-
const result = wrapText("line1\n line2\n line3", 20);
|
|
350
|
-
expect(result).toEqual([" line1", " line2", " line3"]);
|
|
349
|
+
const result = wrapText("line1\n line2 extra\n line3", 20);
|
|
350
|
+
expect(result).toEqual([" line1", " line2 extra", " line3"]);
|
|
351
351
|
});
|
|
352
352
|
});
|
|
353
353
|
|