From c703c6a053e113e1bac2de8991199f13e5d007d9 Mon Sep 17 00:00:00 2001 From: Christoph Schlosser <2466365+cschlosser@users.noreply.github.com> Date: Mon, 19 Oct 2020 19:26:54 +0200 Subject: Release 1.1.0 (#189) * Release 1.1.0 * Make linter happy --- src/test/CppTests/Config.test.ts | 2 +- src/test/CppTests/TrailingReturns.test.ts | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'src/test/CppTests') diff --git a/src/test/CppTests/Config.test.ts b/src/test/CppTests/Config.test.ts index fcf2550..f39b7d3 100644 --- a/src/test/CppTests/Config.test.ts +++ b/src/test/CppTests/Config.test.ts @@ -271,7 +271,7 @@ suite("C++ - Configuration Tests", () => { testSetup.cfg.Generic.useGitUserEmail = true; const result = testSetup.SetLine("").GetResult(); assert.strictEqual("/**\n * @brief \n * \n * @file MockDocument.h\n * @author " + - testSetup.gitConfig.UserName + " (" + testSetup.gitConfig.UserEmail+ + testSetup.gitConfig.UserName + " (" + testSetup.gitConfig.UserEmail + ")\n * @date " + moment().format("YYYY-MM-DD") + "\n */", result); }); diff --git a/src/test/CppTests/TrailingReturns.test.ts b/src/test/CppTests/TrailingReturns.test.ts index 5dea0e8..f60cbb4 100644 --- a/src/test/CppTests/TrailingReturns.test.ts +++ b/src/test/CppTests/TrailingReturns.test.ts @@ -23,6 +23,7 @@ suite("C++ - Trailing returns tests", () => { test("Trailing return with decltype", () => { const result = testSetup.SetLine("auto foo(int a, double b) -> decltype(a + b);").GetResult(); + // tslint:disable-next-line: max-line-length assert.strictEqual("/**\n * @brief \n * \n * @param a \n * @param b \n * @return decltype(a + b) \n */", result); }); -- cgit v1.2.3