summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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);
+ });
});