From 64f1658882c5ab0da2653b9d7e8adce23314cb96 Mon Sep 17 00:00:00 2001 From: Andreas Deininger Date: Tue, 18 Jun 2024 21:27:32 +0200 Subject: [PATCH] Fix typos --- pkg/framework/README.md | 2 +- pkg/framework/runner/suite_runner.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/framework/README.md b/pkg/framework/README.md index 32ee729..3b2edb1 100644 --- a/pkg/framework/README.md +++ b/pkg/framework/README.md @@ -86,7 +86,7 @@ Main interfaces for test working are `provider.T` and `provider.StepCtx`. | `Labels(labels ...allure.Label)` | Adds multiple allure labels | | `ReplaceLabel(label allure.Label)` | Replace any label with same name as passed to argument | -:warning: **NOTE**: Some labels (such as `languange`, `host`, `framework`, etc) have default values and cannot be set +:warning: **NOTE**: Some labels (such as `language`, `host`, `framework`, etc) have default values and cannot be set during test runtime any other way (`SystemLabels` interface) but ReplaceLabel method. ##### Link Methods (`Links` interface) diff --git a/pkg/framework/runner/suite_runner.go b/pkg/framework/runner/suite_runner.go index a6b678f..4463d10 100644 --- a/pkg/framework/runner/suite_runner.go +++ b/pkg/framework/runner/suite_runner.go @@ -184,7 +184,7 @@ func getParamTests(parentTest Test, params map[string]interface{}) map[string]Te } return res } - panic(fmt.Sprintf("missing interface implementaion (parametrizedTest) for test: %s", parentTest.GetMeta().GetResult().Name)) + panic(fmt.Sprintf("missing interface implementation (parametrizedTest) for test: %s", parentTest.GetMeta().GetResult().Name)) } // getParams checks that the parameter extending the suite is of the slice type