Skip to content

Commit a7ff52c

Browse files
committed
chore: prettier.
1 parent d0c1bca commit a7ff52c

File tree

3 files changed

+10
-6
lines changed

3 files changed

+10
-6
lines changed
File renamed without changes.

spec/expected/source.map.amd.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tasks/test-bin.js

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ const testCases = [
155155
'-N',
156156
'test',
157157
'--map',
158-
'./spec/artifacts/source.map.amd.js'
158+
'./spec/artifacts/source.map.amd.txt'
159159
],
160160
outputLocation: 'stdout',
161161
expectedOutputSpec: './spec/expected/source.map.amd.js'
@@ -165,10 +165,15 @@ const testCases = [
165165
module.exports = function(grunt) {
166166
grunt.registerTask('test:bin', function() {
167167
testCases.forEach(
168-
({ binInputParameters, outputLocation, expectedOutputSpec, expectedOutput }) => {
168+
({
169+
binInputParameters,
170+
outputLocation,
171+
expectedOutputSpec,
172+
expectedOutput
173+
}) => {
169174
const stdout = executeBinHandlebars(...binInputParameters);
170-
171-
if( !expectedOutput && expectedOutputSpec){
175+
176+
if (!expectedOutput && expectedOutputSpec) {
172177
expectedOutput = fs.readFileSync(expectedOutputSpec, 'utf-8');
173178
}
174179

@@ -190,7 +195,6 @@ module.exports = function(grunt) {
190195
);
191196
}
192197
);
193-
194198
});
195199
};
196200

0 commit comments

Comments
 (0)