This commit is contained in:
pfg
2025-07-15 19:26:19 -07:00
parent 4be43e2c52
commit 416d159c83
2 changed files with 68 additions and 161 deletions

16
diffexample.test.ts Normal file
View File

@@ -0,0 +1,16 @@
import { test, expect } from "bun:test";
test("example 1", () => {
expect("a\nb\nc\n d\ne").toEqual("a\nd\nc\nd\ne");
});
test("example 2", () => {
expect({
object1: "a",
object2: "b",
object3: "c\nd\ne",
}).toEqual({
object1: "a",
object2: " b",
object3: "c\nd",
});
});