@@ -30,7 +30,7 @@ describe('gulp-lesshint', () => {
30
30
stream . write ( new File ( {
31
31
base : __dirname ,
32
32
path : __dirname + '/fixture.less' ,
33
- contents : new Buffer ( `
33
+ contents : Buffer . from ( `
34
34
.foo{
35
35
color: red;
36
36
}
@@ -40,7 +40,7 @@ describe('gulp-lesshint', () => {
40
40
stream . write ( new File ( {
41
41
base : __dirname ,
42
42
path : __dirname + '/fixture2.less' ,
43
- contents : new Buffer ( `
43
+ contents : Buffer . from ( `
44
44
.foo {
45
45
color:red;
46
46
}
@@ -63,7 +63,7 @@ describe('gulp-lesshint', () => {
63
63
64
64
stream . write ( new File ( {
65
65
path : __dirname + '/fixture.less' ,
66
- contents : new Buffer ( `
66
+ contents : Buffer . from ( `
67
67
.foo {
68
68
color: red;
69
69
}
@@ -102,7 +102,7 @@ describe('gulp-lesshint', () => {
102
102
lintStream . write ( new File ( {
103
103
base : __dirname ,
104
104
path : __dirname + '/fixture.less' ,
105
- contents : new Buffer ( `
105
+ contents : Buffer . from ( `
106
106
.foo{
107
107
color: red;
108
108
}
@@ -130,7 +130,7 @@ describe('gulp-lesshint', () => {
130
130
stream . write ( new File ( {
131
131
base : __dirname ,
132
132
path : __dirname + '/fixture.less' ,
133
- contents : new Buffer ( `
133
+ contents : Buffer . from ( `
134
134
.foo {
135
135
color: red;
136
136
}
@@ -165,7 +165,7 @@ describe('gulp-lesshint', () => {
165
165
lintStream . write ( new File ( {
166
166
base : __dirname ,
167
167
path : __dirname + '/fixture.less' ,
168
- contents : new Buffer ( `
168
+ contents : Buffer . from ( `
169
169
.foo {
170
170
color:red;
171
171
}
@@ -191,7 +191,7 @@ describe('gulp-lesshint', () => {
191
191
stream . write ( new File ( {
192
192
base : __dirname ,
193
193
path : __dirname + '/fixture.less' ,
194
- contents : new Buffer ( `
194
+ contents : Buffer . from ( `
195
195
.foo {
196
196
color: red !important;
197
197
}
@@ -235,7 +235,7 @@ describe('gulp-lesshint', () => {
235
235
stream . write ( new File ( {
236
236
base : __dirname ,
237
237
path : __dirname + '/exclude.less' ,
238
- contents : new Buffer ( `
238
+ contents : Buffer . from ( `
239
239
.foo{
240
240
color: red;
241
241
}
0 commit comments