Skip to content

Commit a39bfa5

Browse files
committed
tests: added failing test for issue #1673
- demonstrates the regression
1 parent 75794c5 commit a39bfa5

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

tasks/test-bin.js

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,16 @@ const testCases = [
164164
binInputParameters: ['./spec/artifacts/bom.handlebars', '-b', '-a'],
165165
outputLocation: 'stdout',
166166
expectedOutputSpec: './spec/expected/bom.amd.js'
167+
},
168+
// Issue #1673
169+
{
170+
binInputParameters: [
171+
'--amd',
172+
'--no-amd',
173+
'spec/artifacts/empty.handlebars'
174+
],
175+
outputLocation: 'stdout',
176+
expectedOutputSpec: './spec/expected/empty.common.js'
167177
}
168178
];
169179

0 commit comments

Comments
 (0)