summaryrefslogtreecommitdiffstats
path: root/src/test/CppTests/Config.test.ts
diff options
context:
space:
mode:
authorDean Anderson <dean@locomation.ai>2018-09-27 16:51:01 -0400
committerChristoph Schlosser <christophschlosser@users.noreply.github.com>2018-09-29 19:08:20 +0200
commit4939806ae705953cfc1ca8cf54f20d98e9be9d03 (patch)
tree71c291d9c5edd2927f350b2dbdf738ca7ff6dfbf /src/test/CppTests/Config.test.ts
parentd3452b0a1e9f4424591b5621ee107a95a61300d5 (diff)
downloaddoxdocgen-4939806ae705953cfc1ca8cf54f20d98e9be9d03.tar.gz
customTag will supply ISO date format if user configured format empty
Added separate templates for author name {author} and email {email} Added method to make multiple template substitutions in a string customTag will now replace {author}, {email}, {date} and {year} templates
Diffstat (limited to 'src/test/CppTests/Config.test.ts')
-rw-r--r--src/test/CppTests/Config.test.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/CppTests/Config.test.ts b/src/test/CppTests/Config.test.ts
index 69837ce..a4c96e6 100644
--- a/src/test/CppTests/Config.test.ts
+++ b/src/test/CppTests/Config.test.ts
@@ -113,7 +113,7 @@ suite("C++ - Configuration Tests", () => {
testSetup.firstLine = 0;
testSetup.cfg.File.fileOrder = ["brief", "author", "date", "file"];
const result = testSetup.SetLine("").GetResult();
- assert.equal("/**\n * @brief \n * @author your name\n" +
+ assert.equal("/**\n * @brief \n * @author your name (you@domain.com)\n" +
" * @date " + moment().format("YYYY-MM-DD") + "\n * @file MockDocument.h\n */", result);
});