From a39bfa5fe3590b9a2fa5437fb358220df86776f4 Mon Sep 17 00:00:00 2001
From: Hannah Wolfe <erisds@gmail.com>
Date: Fri, 3 Apr 2020 20:41:28 +0100
Subject: [PATCH] tests: added failing test for issue #1673

- demonstrates the regression
---
 tasks/test-bin.js | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/tasks/test-bin.js b/tasks/test-bin.js
index 58dfab04..b1e31e80 100644
--- a/tasks/test-bin.js
+++ b/tasks/test-bin.js
@@ -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'
   }
 ];
 
