mirror of
https://github.com/oven-sh/bun
synced 2026-02-15 21:32:05 +00:00
wip
This commit is contained in:
16
diffexample.test.ts
Normal file
16
diffexample.test.ts
Normal 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",
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user