From 23e24325bac129e723537be4096f053ac3394850 Mon Sep 17 00:00:00 2001 From: Christoph Schlosser Date: Sat, 5 Oct 2019 14:03:04 +0200 Subject: Fix test lines --- src/test/CppTests/Operators.test.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src') 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); }); }); -- cgit v1.2.3