From a4e6fea164b85ff20857f5a75dbc9e6210279079 Mon Sep 17 00:00:00 2001 From: Patrick Ohly Date: Sat, 10 Dec 2022 21:49:05 +0100 Subject: [PATCH] e2e: fix line numbering in unit tests Adding the "context" import in the previous commit must get compensated by removing one of the blank lines in the output unit tests, otherwise the stack backtrace don't match expectations. --- test/e2e/framework/internal/unittests/cleanup/cleanup_test.go | 1 - test/e2e/framework/pod/wait_test.go | 1 - test/e2e/framework/skipper/skipper_test.go | 1 - 3 files changed, 3 deletions(-) diff --git a/test/e2e/framework/internal/unittests/cleanup/cleanup_test.go b/test/e2e/framework/internal/unittests/cleanup/cleanup_test.go index f2904c8c515..c47fd14a568 100644 --- a/test/e2e/framework/internal/unittests/cleanup/cleanup_test.go +++ b/test/e2e/framework/internal/unittests/cleanup/cleanup_test.go @@ -47,7 +47,6 @@ import ( // // // -// // This must be line #50. var _ = ginkgo.Describe("e2e", func() { diff --git a/test/e2e/framework/pod/wait_test.go b/test/e2e/framework/pod/wait_test.go index 7c68b6a6769..22cd8c5bb73 100644 --- a/test/e2e/framework/pod/wait_test.go +++ b/test/e2e/framework/pod/wait_test.go @@ -49,7 +49,6 @@ import ( // // // -// // This must be line #52. var _ = ginkgo.Describe("pod", func() { diff --git a/test/e2e/framework/skipper/skipper_test.go b/test/e2e/framework/skipper/skipper_test.go index 0e1d22f03b4..1fb58784db5 100644 --- a/test/e2e/framework/skipper/skipper_test.go +++ b/test/e2e/framework/skipper/skipper_test.go @@ -47,7 +47,6 @@ import ( // // // -// // This must be line #50. var _ = ginkgo.Describe("e2e", func() {