From 9e0ad796fdbfe9ee4e20335df419e509bb980ffa Mon Sep 17 00:00:00 2001 From: Tanmay Rustagi Date: Mon, 26 Aug 2024 21:17:06 +0200 Subject: [PATCH] - --- internal/providers/common/provider_test.go | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/internal/providers/common/provider_test.go b/internal/providers/common/provider_test.go index 3a6a66b145..d5568f95e0 100644 --- a/internal/providers/common/provider_test.go +++ b/internal/providers/common/provider_test.go @@ -401,7 +401,7 @@ func Test_ParseUserAgentExtra(t *testing.T) { env: "databricks-cli/0.1.2", err: nil, out: []sdkv2.UserAgentExtra{ - {"databricks-cli", "0.1.2"}, + {Key: "databricks-cli", Value: "0.1.2"}, }, }, { @@ -409,8 +409,8 @@ func Test_ParseUserAgentExtra(t *testing.T) { env: "databricks-cli/0.1.2 custom-thing/0.0.1", err: nil, out: []sdkv2.UserAgentExtra{ - {"databricks-cli", "0.1.2"}, - {"custom-thing", "0.0.1"}, + {Key: "databricks-cli", Value: "0.1.2"}, + {Key: "custom-thing", Value: "0.0.1"}, }, }, { @@ -418,9 +418,9 @@ func Test_ParseUserAgentExtra(t *testing.T) { env: "\ta/0.0.1\tb/0.0.2 \t c/0.0.3", err: nil, out: []sdkv2.UserAgentExtra{ - {"a", "0.0.1"}, - {"b", "0.0.2"}, - {"c", "0.0.3"}, + {Key: "a", Value: "0.0.1"}, + {Key: "b", Value: "0.0.2"}, + {Key: "c", Value: "0.0.3"}, }, }, {