@@ -41,20 +41,21 @@ tap.equal(
41
41
42
42
var text = readFileSync ( 'index.js' )
43
43
tap . equal ( text , [
44
- '/* Copyright ' + year + ' John Doe' ,
45
- ' *' ,
46
- ' * Licensed under the Apache License, Version 2.0 (the "License");' ,
47
- ' * you may not use this file except in compliance with the License.' ,
48
- ' * You may obtain a copy of the License at' ,
49
- ' *' ,
50
- ' * http://www.apache.org/licenses/LICENSE-2.0' ,
51
- ' *' ,
52
- ' * Unless required by applicable law or agreed to in writing, software' ,
53
- ' * distributed under the License is distributed on an "AS IS" BASIS,' ,
54
- ' * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.' ,
55
- ' * See the License for the specific language governing permissions and' ,
56
- ' * limitations under the License.' ,
57
- ' */'
44
+ '/*' ,
45
+ 'Copyright ' + year + ' John Doe' ,
46
+ '' ,
47
+ 'Licensed under the Apache License, Version 2.0 (the "License");' ,
48
+ 'you may not use this file except in compliance with the License.' ,
49
+ 'You may obtain a copy of the License at' ,
50
+ '' ,
51
+ ' http://www.apache.org/licenses/LICENSE-2.0' ,
52
+ '' ,
53
+ 'Unless required by applicable law or agreed to in writing, software' ,
54
+ 'distributed under the License is distributed on an "AS IS" BASIS,' ,
55
+ 'WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.' ,
56
+ 'See the License for the specific language governing permissions and' ,
57
+ 'limitations under the License.' ,
58
+ '*/'
58
59
] . join ( '\n' ) + '\n\n' + indexBefore )
59
60
60
61
fs . writeFileSync ( path . join ( __dirname , 'index.js' ) , indexBefore )
0 commit comments