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/extension.ts | 4 ++-- src/test/CppTests/Config.test.ts | 2 +- src/test/CppTests/TrailingReturns.test.ts | 1 + 3 files changed, 4 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/extension.ts b/src/extension.ts index cc9f3bb..3329ee4 100644 --- a/src/extension.ts +++ b/src/extension.ts @@ -5,8 +5,8 @@ import * as vscode from "vscode"; import CodeParserController from "./CodeParserController"; enum Version { - CURRENT = "1.0.1", - PREVIOUS = "1.0.0", + CURRENT = "1.1.0", + PREVIOUS = "1.0.1", KEY = "doxdocgen_version", } 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