diff options
| author | Christoph Schlosser <christoph@linux.com> | 2019-06-22 18:07:44 +0200 |
|---|---|---|
| committer | Christoph Schlosser <christoph@linux.com> | 2019-06-22 18:07:44 +0200 |
| commit | 2f358e66df977d696335816876fad7e759efcb8e (patch) | |
| tree | be58dff12f49403206702857f0489d8ff2b1d5f6 /src/test/CppTests | |
| parent | 24f919cccad600fcf32d86ec90edfeec21a372ab (diff) | |
| parent | 2d7a744527e469397a6dce6f27d60fac4382ee53 (diff) | |
| download | doxdocgen-2f358e66df977d696335816876fad7e759efcb8e.tar.gz | |
Merge remote-tracking branch 'origin/master' into indent-option
Diffstat (limited to 'src/test/CppTests')
| -rw-r--r-- | src/test/CppTests/Config.test.ts | 5 |
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); + }); }); |