Skip to content

Commit

Permalink
tests: added failing test for issue handlebars-lang#1673
Browse files Browse the repository at this point in the history
- demonstrates the regression
  • Loading branch information
ErisDS committed Apr 3, 2020
1 parent 3438891 commit 0adc63d
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions tasks/test-bin.js
Expand Up @@ -164,6 +164,16 @@ const testCases = [
binInputParameters: ['./spec/artifacts/bom.handlebars', '-b', '-a'],
outputLocation: 'stdout',
expectedOutputSpec: './spec/expected/bom.amd.js'
},
// Issue #1673
{
binInputParameters: [
'--amd',
'--no-amd',
'spec/artifacts/empty.handlebars'
],
outputLocation: 'stdout',
expectedOutputSpec: './spec/expected/empty.common.js'
}
];

Expand Down

0 comments on commit 0adc63d

Please sign in to comment.