summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorChristoph Schlosser <christoph@linux.com>2018-02-25 01:47:03 +0100
committerChristoph Schlosser <christophschlosser@users.noreply.github.com>2018-02-25 01:58:38 +0100
commit7c33ea0e12d14215f97cbba009e0f36932d47a73 (patch)
treeb3a698699b843e88ac9b133bfd77737003b5b3d8 /src
parente62652df6c5d4adc48e2ccf202456c9133a3fed1 (diff)
downloaddoxdocgen-7c33ea0e12d14215f97cbba009e0f36932d47a73.tar.gz
Another unit test
Diffstat (limited to 'src')
-rw-r--r--src/test/CppTests/FileDescription.test.ts5
1 files changed, 5 insertions, 0 deletions
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);
+ });
});