From cd7c089ebfeb689f3d30ec283959611c42fb21c8 Mon Sep 17 00:00:00 2001 From: Sagar Muchhal Date: Fri, 10 Feb 2023 11:29:31 -0800 Subject: [PATCH] Fixes failing unit test Signed-off-by: Sagar Muchhal --- tkg/tkgconfighelper/tkgconfighelper_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tkg/tkgconfighelper/tkgconfighelper_test.go b/tkg/tkgconfighelper/tkgconfighelper_test.go index b773c8cdcd..191ac496a0 100644 --- a/tkg/tkgconfighelper/tkgconfighelper_test.go +++ b/tkg/tkgconfighelper/tkgconfighelper_test.go @@ -131,7 +131,7 @@ var _ = Describe("ValidateK8sVersionSupport", func() { }) It("should return error", func() { Expect(err).To(HaveOccurred()) - Expect(err.Error()).To(ContainSubstring("only [v1.0 v1.1 v1.2 v1.3 v1.4 v1.5 v1.6 v1.7 v2.1] management cluster versions are supported with current version of TKG CLI. Please upgrade TKG CLI to latest version if you are using it on latest version of management cluster.")) + Expect(err.Error()).To(ContainSubstring("only [v1.0 v1.1 v1.2 v1.3 v1.4 v1.5 v1.6 v1.7 v2.1 v2.2] management cluster versions are supported with current version of TKG CLI. Please upgrade TKG CLI to latest version if you are using it on latest version of management cluster.")) }) }) })