From 8ff49cde3bcdd859d52c6cf4b59cf1a36bbbaa50 Mon Sep 17 00:00:00 2001 From: mo Date: Mon, 28 Oct 2024 17:57:21 +0300 Subject: [PATCH] refactor: changing variable name --- x/logic/predicate/uri_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/x/logic/predicate/uri_test.go b/x/logic/predicate/uri_test.go index fd8b8e44..7e47dc17 100644 --- a/x/logic/predicate/uri_test.go +++ b/x/logic/predicate/uri_test.go @@ -23,7 +23,7 @@ import ( ) func TestURIEncoded(t *testing.T) { - invalidUrlEscape := strings.Join(strings.Split("invalid URL escape \"%%3\"", ""), ",") + invalidURLEscape := strings.Join(strings.Split("invalid URL escape \"%%3\"", ""), ",") Convey("Given a test cases", t, func() { cases := []struct { program string @@ -168,7 +168,7 @@ func TestURIEncoded(t *testing.T) { { query: "uri_encoded(path, Decoded, 'bar%%3foo').", wantSuccess: false, - wantError: fmt.Errorf("error(domain_error(encoding(uri),bar%%%%3foo),[%s],uri_encoded/3)", invalidUrlEscape), + wantError: fmt.Errorf("error(domain_error(encoding(uri),bar%%%%3foo),[%s],uri_encoded/3)", invalidURLEscape), }, } for nc, tc := range cases {