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) => {
127127
128128test ( 'README example #1' , ( t ) => {
129129 const edges = [ 'ab' , 'bc' ] ;
130- const expected = [ 'a' , 'b' , 'c' ] ;
130+ const expected = list ( 'abc' ) ;
131131 t . deepEqual ( [ ...sorted ( edges ) ] , expected ) ;
132132} ) ;
133133
134134test ( 'README example #2' , ( t ) => {
135135 const edges = [ 'ab' , 'cd' ] ;
136- const expected = [ 'a' , 'b' , 'c' , 'd' ] ;
136+ const expected = list ( 'abcd' ) ;
137137 t . deepEqual ( [ ...sorted ( edges , increasing ) ] , expected ) ;
138138} ) ;
139139
140140test ( 'README example #3' , ( t ) => {
141141 const edges = [ 'ab' , 'cd' ] ;
142- const expected = [ 'c' , 'd' , 'a' , 'b' ] ;
142+ const expected = list ( 'cdab' ) ;
143143 t . deepEqual ( [ ...sorted ( edges , decreasing ) ] , expected ) ;
144144} ) ;
You can’t perform that action at this time.
0 commit comments