From d01c0cea3252b93a6fc28f311fb024463223b365 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Viktor=20Sz=C3=A9pe?= Date: Mon, 18 Sep 2023 14:53:57 +0200 Subject: [PATCH] Fix last typos (#678) --- config/scripts/pt_builder.sh | 2 +- src/go/pt-k8s-debug-collector/main_test.go | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/config/scripts/pt_builder.sh b/config/scripts/pt_builder.sh index f4781a73..b691c8d5 100644 --- a/config/scripts/pt_builder.sh +++ b/config/scripts/pt_builder.sh @@ -15,7 +15,7 @@ Usage: $0 [OPTIONS] --build_rpm If it is set - rpm will be built --build_deb If it is set - deb will be built --build_tarball If it is set - tarball will be built - --install_deps Install build dependencies(root privilages are required) + --install_deps Install build dependencies(root privileges are required) --branch Branch for build --repo Repo for build --help) usage ;; diff --git a/src/go/pt-k8s-debug-collector/main_test.go b/src/go/pt-k8s-debug-collector/main_test.go index f99d4fd2..849bd9d7 100644 --- a/src/go/pt-k8s-debug-collector/main_test.go +++ b/src/go/pt-k8s-debug-collector/main_test.go @@ -107,8 +107,8 @@ func TestIndividualFiles(t *testing.T) { if err != nil { t.Errorf("test %s, error running command %s:\n%s\n\nCommand output:\n%s", test.name, test.cmd[0], err.Error(), out) } - if test.preprocesor(bytes.NewBuffer(out).String()) != strings.Join(test.want, "\n") { - t.Errorf("test %s, output is not as expected\nOutput: %s\nWanted: %s", test.name, test.preprocesor(bytes.NewBuffer(out).String()), test.want) + if test.preprocessor(bytes.NewBuffer(out).String()) != strings.Join(test.want, "\n") { + t.Errorf("test %s, output is not as expected\nOutput: %s\nWanted: %s", test.name, test.preprocessor(bytes.NewBuffer(out).String()), test.want) } } }