From 7c33ea0e12d14215f97cbba009e0f36932d47a73 Mon Sep 17 00:00:00 2001 From: Christoph Schlosser Date: Sun, 25 Feb 2018 01:47:03 +0100 Subject: Another unit test --- src/test/CppTests/FileDescription.test.ts | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/test/CppTests/FileDescription.test.ts') diff --git a/src/test/CppTests/FileDescription.test.ts b/src/test/CppTests/FileDescription.test.ts index ab6071f..c4ab4af 100644 --- a/src/test/CppTests/FileDescription.test.ts +++ b/src/test/CppTests/FileDescription.test.ts @@ -30,4 +30,9 @@ suite("File Description Tests", () => { " * @date " + date + "\n */", result); }); + test("Don't generate non existing commands", () => { + testSetup.cfg.fileOrder = ["dates"]; + const result = testSetup.SetLine("").GetResult(); + assert.equal("/**\n */", result); + }); }); -- cgit v1.2.3