From e10017042ea060ba262ad077c2020fc55754877a Mon Sep 17 00:00:00 2001 From: Benoit Pierre Date: Sun, 24 Nov 2024 23:05:39 +0100 Subject: [PATCH] tests: tweak tags Drop `nocov` tag for tests already tagged with `notest` (already ignored when doing a coverage run). --- spec/unit/httpclient_spec.lua | 2 +- spec/unit/kosync_spec.lua | 2 +- spec/unit/spore_spec.lua | 4 ++-- spec/unit/translator_spec.lua | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/spec/unit/httpclient_spec.lua b/spec/unit/httpclient_spec.lua index 506d35cc9..87959e28c 100644 --- a/spec/unit/httpclient_spec.lua +++ b/spec/unit/httpclient_spec.lua @@ -1,4 +1,4 @@ -describe("HTTP client module #notest #nocov", function() +describe("HTTP client module #notest", function() local UIManager setup(function() require("commonrequire") diff --git a/spec/unit/kosync_spec.lua b/spec/unit/kosync_spec.lua index 3c45f60c4..878fc4fd2 100644 --- a/spec/unit/kosync_spec.lua +++ b/spec/unit/kosync_spec.lua @@ -50,7 +50,7 @@ local service = [[ } ]] -describe("KOSync modules #notest #nocov", function() +describe("KOSync modules #notest", function() local logger, md5, client local username, password, doc, percentage, progress, device diff --git a/spec/unit/spore_spec.lua b/spec/unit/spore_spec.lua index a8cf17592..e92486864 100644 --- a/spec/unit/spore_spec.lua +++ b/spec/unit/spore_spec.lua @@ -31,7 +31,7 @@ local service = [[ } ]] -describe("Lua Spore modules #notest #nocov", function() +describe("Lua Spore modules #notest", function() local Spore, client setup(function() require("commonrequire") @@ -53,7 +53,7 @@ describe("Lua Spore modules #notest #nocov", function() end) end) -describe("Lua Spore modules with async http request #notest #nocov", function() +describe("Lua Spore modules with async http request #notest", function() local client, UIManager setup(function() diff --git a/spec/unit/translator_spec.lua b/spec/unit/translator_spec.lua index 9ca601cf5..d7a80b96e 100644 --- a/spec/unit/translator_spec.lua +++ b/spec/unit/translator_spec.lua @@ -14,7 +14,7 @@ describe("Translator module", function() G_reader_settings:delSetting("trans_server") G_reader_settings:flush() end) - -- add " #notest #nocov" to the it("description string") when it does not work anymore + -- add " #notest" to the it("description string") when it does not work anymore it("should return translation #internet", function() local translation_result = Translator:translate(dutch_wikipedia_text, "en") assert.is.truthy(translation_result)