From bfe41681cc962814e1377f348328e7e50fdbc54e Mon Sep 17 00:00:00 2001 From: Armel Soro Date: Mon, 24 Apr 2023 18:01:28 +0200 Subject: [PATCH] Apply suggestions from code review Co-authored-by: Parthvi Vala --- tests/integration/cmd_dev_debug_test.go | 3 +-- tests/integration/cmd_dev_test.go | 4 +--- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/tests/integration/cmd_dev_debug_test.go b/tests/integration/cmd_dev_debug_test.go index 1194da07db4..bcee4fd7fd8 100644 --- a/tests/integration/cmd_dev_debug_test.go +++ b/tests/integration/cmd_dev_debug_test.go @@ -48,8 +48,7 @@ var _ = Describe("odo dev debug command tests", func() { ports map[string]string ) var ( - LocalPort int - LocalDebugPort int + LocalPort, LocalDebugPort int ) const ( ContainerPort = "3000" diff --git a/tests/integration/cmd_dev_test.go b/tests/integration/cmd_dev_test.go index 959968abdf6..0086e9b6b1f 100644 --- a/tests/integration/cmd_dev_test.go +++ b/tests/integration/cmd_dev_test.go @@ -1032,9 +1032,7 @@ ComponentSettings: When("devfile has multiple endpoints", func() { var ( - LocalPort1 int - LocalPort2 int - LocalPort3 int + LocalPort1, LocalPort2, LocalPort3 int ) const ( // ContainerPort are hard-coded from devfile-with-multiple-endpoints.yaml