summaryrefslogtreecommitdiffstats
path: root/src/test/CppTests/Config.test.ts
diff options
context:
space:
mode:
authorChristoph Schlosser <christoph@linux.com>2019-06-22 18:07:44 +0200
committerChristoph Schlosser <christoph@linux.com>2019-06-22 18:07:44 +0200
commit2f358e66df977d696335816876fad7e759efcb8e (patch)
treebe58dff12f49403206702857f0489d8ff2b1d5f6 /src/test/CppTests/Config.test.ts
parent24f919cccad600fcf32d86ec90edfeec21a372ab (diff)
parent2d7a744527e469397a6dce6f27d60fac4382ee53 (diff)
downloaddoxdocgen-2f358e66df977d696335816876fad7e759efcb8e.tar.gz
Merge remote-tracking branch 'origin/master' into indent-option
Diffstat (limited to 'src/test/CppTests/Config.test.ts')
-rw-r--r--src/test/CppTests/Config.test.ts5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/test/CppTests/Config.test.ts b/src/test/CppTests/Config.test.ts
index a4c96e6..1ef2a4d 100644
--- a/src/test/CppTests/Config.test.ts
+++ b/src/test/CppTests/Config.test.ts
@@ -153,4 +153,9 @@ suite("C++ - Configuration Tests", () => {
const result = testSetup.SetLine("int createFooObject();").GetResult();
assert.equal("/**\n * @brief Test FooObject\n * \n * @return int \n */", result);
});
+
+ test("Remove inserted '*/' from line", () => {
+ const result = testSetup.SetLines(["*/", "int foo();"]).GetResult();
+ assert.equal("/**\n * @brief \n * \n * @return int \n */", result);
+ });
});