summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/test/CppTests/Operators.test.ts8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/test/CppTests/Operators.test.ts b/src/test/CppTests/Operators.test.ts
index 09f5dd4..b35cc81 100644
--- a/src/test/CppTests/Operators.test.ts
+++ b/src/test/CppTests/Operators.test.ts
@@ -279,22 +279,22 @@ suite("C++ - Operators Tests", () => {
});
test("Implicit conversion operator", () => {
- const result = testSetup.SetLine("operator int() const").GetResult();
+ const result = testSetup.SetLine("operator int() const;").GetResult();
assert.equal("/**\n * @brief \n * \n * @return int \n */", result);
});
test("Explicit conversion operator", () => {
- const result = testSetup.SetLine("explicit operator int() const").GetResult();
+ const result = testSetup.SetLine("explicit operator int() const;").GetResult();
assert.equal("/**\n * @brief \n * \n * @return int \n */", result);
});
test("conversion operator to struct", () => {
- const result = testSetup.SetLine("explicit operator struct foo() const").GetResult();
+ const result = testSetup.SetLine("explicit operator struct foo() const;").GetResult();
assert.equal("/**\n * @brief \n * \n * @return struct foo \n */", result);
});
test("conversion operator to struct pointer", () => {
- const result = testSetup.SetLine("explicit operator struct foo*() const").GetResult();
+ const result = testSetup.SetLine("explicit operator struct foo*() const;").GetResult();
assert.equal("/**\n * @brief \n * \n * @return struct foo* \n */", result);
});
});