@@ -126,18 +126,18 @@ test('mdast-util-heading-range()', function (t) {
126
126
} )
127
127
}
128
128
} )
129
- . process ( [ 'Foo' , '' , '## Foo' , '' , 'Bar' , '' ] . join ( '\n' ) , function (
130
- err ,
131
- file
132
- ) {
133
- t . ifError ( err , 'should not fail (#1)' )
129
+ . process (
130
+ [ 'Foo' , '' , '## Foo' , '' , 'Bar' , '' ] . join ( '\n' ) ,
131
+ function ( err , file ) {
132
+ t . ifError ( err , 'should not fail (#1)' )
134
133
135
- t . equal (
136
- String ( file ) ,
137
- [ 'Foo' , '' , '## Foo' , '' , 'Bar' , '' ] . join ( '\n' ) ,
138
- 'should not remove anything when `null` is given'
139
- )
140
- } )
134
+ t . equal (
135
+ String ( file ) ,
136
+ [ 'Foo' , '' , '## Foo' , '' , 'Bar' , '' ] . join ( '\n' ) ,
137
+ 'should not remove anything when `null` is given'
138
+ )
139
+ }
140
+ )
141
141
142
142
remark ( )
143
143
. use ( function ( ) {
@@ -147,18 +147,18 @@ test('mdast-util-heading-range()', function (t) {
147
147
} )
148
148
}
149
149
} )
150
- . process ( [ 'Foo' , '' , '## Foo' , '' , 'Bar' , '' ] . join ( '\n' ) , function (
151
- err ,
152
- file
153
- ) {
154
- t . ifError ( err , 'should not fail (#2)' )
150
+ . process (
151
+ [ 'Foo' , '' , '## Foo' , '' , 'Bar' , '' ] . join ( '\n' ) ,
152
+ function ( err , file ) {
153
+ t . ifError ( err , 'should not fail (#2)' )
155
154
156
- t . equal (
157
- String ( file ) ,
158
- [ 'Foo' , '' ] . join ( '\n' ) ,
159
- 'should replace all previous nodes otherwise'
160
- )
161
- } )
155
+ t . equal (
156
+ String ( file ) ,
157
+ [ 'Foo' , '' ] . join ( '\n' ) ,
158
+ 'should replace all previous nodes otherwise'
159
+ )
160
+ }
161
+ )
162
162
163
163
remark ( )
164
164
. use ( function ( ) {
0 commit comments