File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -127,18 +127,18 @@ test('Triangle after edge', (t) => {
127
127
128
128
test ( 'README example #1' , ( t ) => {
129
129
const edges = [ 'ab' , 'bc' ] ;
130
- const expected = [ 'a' , 'b' , 'c' ] ;
130
+ const expected = list ( 'abc' ) ;
131
131
t . deepEqual ( [ ...sorted ( edges ) ] , expected ) ;
132
132
} ) ;
133
133
134
134
test ( 'README example #2' , ( t ) => {
135
135
const edges = [ 'ab' , 'cd' ] ;
136
- const expected = [ 'a' , 'b' , 'c' , 'd' ] ;
136
+ const expected = list ( 'abcd' ) ;
137
137
t . deepEqual ( [ ...sorted ( edges , increasing ) ] , expected ) ;
138
138
} ) ;
139
139
140
140
test ( 'README example #3' , ( t ) => {
141
141
const edges = [ 'ab' , 'cd' ] ;
142
- const expected = [ 'c' , 'd' , 'a' , 'b' ] ;
142
+ const expected = list ( 'cdab' ) ;
143
143
t . deepEqual ( [ ...sorted ( edges , decreasing ) ] , expected ) ;
144
144
} ) ;
You can’t perform that action at this time.
0 commit comments