@@ -8,62 +8,62 @@ async function read(test: string) {
8
8
return { a : a . replaceAll ( "\r\n" , "\n" ) , b : b . replaceAll ( "\r\n" , "\n" ) , c : c . replaceAll ( "\r\n" , "\n" ) }
9
9
}
10
10
11
- test ( "deno" ) ( "diff() handles empty texts" , async ( ) => {
11
+ test ( "deno" ) ( "` diff()` handles empty texts" , async ( ) => {
12
12
const { a, b, c } = await read ( "empty" )
13
13
expect ( diff ( a , b ) ) . toStrictEqual ( c )
14
14
} , { permissions : { read : true } } )
15
15
16
- test ( "deno" ) ( "diff() handles empty unchanged texts" , async ( ) => {
16
+ test ( "deno" ) ( "` diff()` handles empty unchanged texts" , async ( ) => {
17
17
const { a, b, c } = await read ( "identical" )
18
18
expect ( diff ( a , b ) ) . toStrictEqual ( c )
19
19
} , { permissions : { read : true } } )
20
20
21
- test ( "deno" ) ( "diff() handles final newline in texts" , async ( ) => {
21
+ test ( "deno" ) ( "` diff()` handles final newline in texts" , async ( ) => {
22
22
const { a, b, c } = await read ( "newline" )
23
23
expect ( diff ( a , b ) ) . toStrictEqual ( c )
24
24
} , { permissions : { read : true } } )
25
25
26
- test ( "deno" ) ( "diff() handles single addition" , async ( ) => {
26
+ test ( "deno" ) ( "` diff()` handles single addition" , async ( ) => {
27
27
const { a, b, c } = await read ( "single/addition" )
28
28
expect ( diff ( a , b ) ) . toStrictEqual ( c )
29
29
} , { permissions : { read : true } } )
30
30
31
- test ( "deno" ) ( "diff() handles additions" , async ( ) => {
31
+ test ( "deno" ) ( "` diff()` handles additions" , async ( ) => {
32
32
const { a, b, c } = await read ( "addition" )
33
33
expect ( diff ( a , b ) ) . toStrictEqual ( c )
34
34
} , { permissions : { read : true } } )
35
35
36
- test ( "deno" ) ( "diff() handles single deletion" , async ( ) => {
36
+ test ( "deno" ) ( "` diff()` handles single deletion" , async ( ) => {
37
37
const { a, b, c } = await read ( "single/deletion" )
38
38
expect ( diff ( a , b ) ) . toStrictEqual ( c )
39
39
} , { permissions : { read : true } } )
40
40
41
- test ( "deno" ) ( "diff() handles deletions" , async ( ) => {
41
+ test ( "deno" ) ( "` diff()` handles deletions" , async ( ) => {
42
42
const { a, b, c } = await read ( "deletion" )
43
43
expect ( diff ( a , b ) ) . toStrictEqual ( c )
44
44
} , { permissions : { read : true } } )
45
45
46
- test ( "deno" ) ( "diff() handles single edition" , async ( ) => {
46
+ test ( "deno" ) ( "` diff()` handles single edition" , async ( ) => {
47
47
const { a, b, c } = await read ( "single/edition" )
48
48
expect ( diff ( a , b ) ) . toStrictEqual ( c )
49
49
} , { permissions : { read : true } } )
50
50
51
- test ( "deno" ) ( "diff() handles editions" , async ( ) => {
51
+ test ( "deno" ) ( "` diff()` handles editions" , async ( ) => {
52
52
const { a, b, c } = await read ( "edition" )
53
53
expect ( diff ( a , b ) ) . toStrictEqual ( c )
54
54
} , { permissions : { read : true } } )
55
55
56
- test ( "deno" ) ( "diff() handles multiple hunks" , async ( ) => {
56
+ test ( "deno" ) ( "` diff()` handles multiple hunks" , async ( ) => {
57
57
const { a, b, c } = await read ( "hunks" )
58
58
expect ( diff ( a , b ) ) . toStrictEqual ( c )
59
59
} , { permissions : { read : true } } )
60
60
61
- test ( "deno" ) ( "diff() handles moved lines" , async ( ) => {
61
+ test ( "deno" ) ( "` diff()` handles moved lines" , async ( ) => {
62
62
const { a, b, c } = await read ( "moved" )
63
63
expect ( diff ( a , b ) ) . toStrictEqual ( c )
64
64
} , { permissions : { read : true } } )
65
65
66
- test ( "deno" ) ( "diff() handles complex texts" , async ( ) => {
66
+ test ( "deno" ) ( "` diff()` handles complex texts" , async ( ) => {
67
67
const { a, b, c } = await read ( "lorem" )
68
68
expect ( diff ( a , b ) ) . toStrictEqual ( c )
69
69
} , { permissions : { read : true } } )
0 commit comments