diff options
| author | Christoph Schlosser <christoph@linux.com> | 2019-10-05 14:03:04 +0200 |
|---|---|---|
| committer | Christoph Schlosser <christophschlosser@users.noreply.github.com> | 2019-10-05 14:59:29 +0200 |
| commit | 23e24325bac129e723537be4096f053ac3394850 (patch) | |
| tree | 1795b4548399684c2c0f9f7d592b3325daacef27 /src | |
| parent | e6388bf4711db2802d9cb8de5a2577b5dffafff3 (diff) | |
| download | doxdocgen-23e24325bac129e723537be4096f053ac3394850.tar.gz | |
Fix test lines
Diffstat (limited to 'src')
| -rw-r--r-- | src/test/CppTests/Operators.test.ts | 8 |
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); }); }); |