From 67121d41db610e8909d88c45e28a3730c5190384 Mon Sep 17 00:00:00 2001 From: Kunal Dawar Date: Mon, 5 Aug 2024 13:09:49 +0530 Subject: [PATCH] fix linting. --- internal/cli/universal_login_customize_test.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/internal/cli/universal_login_customize_test.go b/internal/cli/universal_login_customize_test.go index e1703063f..07f677de5 100644 --- a/internal/cli/universal_login_customize_test.go +++ b/internal/cli/universal_login_customize_test.go @@ -1316,7 +1316,7 @@ func TestCheckOriginFunc(t *testing.T) { testName: "Malformed Origin - Invalid URL", request: &http.Request{ Header: http.Header{ - "Origin": []string{"http://:80"}, // Incomplete URL with missing host + "Origin": []string{"http://:80"}, // Incomplete URL with missing host. }, }, expected: false, @@ -1325,7 +1325,7 @@ func TestCheckOriginFunc(t *testing.T) { testName: "Malformed Origin - Invalid Scheme", request: &http.Request{ Header: http.Header{ - "Origin": []string{"ftp://example.com"}, // Unsupported scheme + "Origin": []string{"ftp://example.com"}, // Unsupported scheme. }, }, expected: false, @@ -1334,7 +1334,7 @@ func TestCheckOriginFunc(t *testing.T) { testName: "Malformed Origin - Invalid URL Encoding", request: &http.Request{ Header: http.Header{ - "Origin": []string{"http://%zz%zz"}, // Invalid percent encoding + "Origin": []string{"http://%zz%zz"}, // Invalid percent encoding. }, }, expected: false, @@ -1343,7 +1343,7 @@ func TestCheckOriginFunc(t *testing.T) { testName: "Empty Origin URL", request: &http.Request{ Header: http.Header{ - "Origin": []string{"http://"}, // Valid scheme but empty path + "Origin": []string{"http://"}, // Valid scheme but empty path. }, }, expected: false,