@@ -128,8 +128,8 @@ test('mdast-util-heading-range()', function (t) {
128
128
} )
129
129
. process (
130
130
[ 'Foo' , '' , '## Foo' , '' , 'Bar' , '' ] . join ( '\n' ) ,
131
- function ( err , file ) {
132
- t . ifError ( err , 'should not fail (#1)' )
131
+ function ( error , file ) {
132
+ t . ifError ( error , 'should not fail (#1)' )
133
133
134
134
t . equal (
135
135
String ( file ) ,
@@ -149,8 +149,8 @@ test('mdast-util-heading-range()', function (t) {
149
149
} )
150
150
. process (
151
151
[ 'Foo' , '' , '## Foo' , '' , 'Bar' , '' ] . join ( '\n' ) ,
152
- function ( err , file ) {
153
- t . ifError ( err , 'should not fail (#2)' )
152
+ function ( error , file ) {
153
+ t . ifError ( error , 'should not fail (#2)' )
154
154
155
155
t . equal (
156
156
String ( file ) ,
@@ -170,8 +170,8 @@ test('mdast-util-heading-range()', function (t) {
170
170
} )
171
171
. process (
172
172
[ 'Foo' , '' , '## Foo' , '' , 'Bar' , '' , '## Baz' , '' ] . join ( '\n' ) ,
173
- function ( err , file ) {
174
- t . ifError ( err , 'should not fail (#3)' )
173
+ function ( error , file ) {
174
+ t . ifError ( error , 'should not fail (#3)' )
175
175
176
176
t . equal (
177
177
String ( file ) ,
@@ -195,8 +195,8 @@ test('mdast-util-heading-range()', function (t) {
195
195
[ '# Alpha' , '' , '## Foo' , '' , 'one' , '' , 'two' , '' , 'three' , '' ] . join (
196
196
'\n'
197
197
) ,
198
- function ( err , file ) {
199
- t . ifError ( err , 'should not fail (#4)' )
198
+ function ( error , file ) {
199
+ t . ifError ( error , 'should not fail (#4)' )
200
200
201
201
t . equal (
202
202
String ( file ) ,
0 commit comments