()
| 6 | Deno.test({ |
| 7 | name: 'diff() "a" vs "b" (diffstr)', |
| 8 | fn() { |
| 9 | const diffResult = diffStr("a", "b"); |
| 10 | assertEquals(diffResult, [ |
| 11 | { |
| 12 | details: [ |
| 13 | { type: "removed", value: "a" }, |
| 14 | { type: "common", value: "\n" }, |
| 15 | ], |
| 16 | type: "removed", |
| 17 | value: "a\n", |
| 18 | }, |
| 19 | { |
| 20 | details: [ |
| 21 | { type: "added", value: "b" }, |
| 22 | { type: "common", value: "\n" }, |
| 23 | ], |
| 24 | type: "added", |
| 25 | value: "b\n", |
| 26 | }, |
| 27 | ]); |
| 28 | }, |
| 29 | }); |
| 30 | |
| 31 | Deno.test({ |
nothing calls this directly
no test coverage detected