Skip to content

Commit

Permalink
refactor: changing variable name
Browse files Browse the repository at this point in the history
  • Loading branch information
mo committed Oct 28, 2024
1 parent d0830d1 commit 8ff49cd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions x/logic/predicate/uri_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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 {
Expand Down

0 comments on commit 8ff49cd

Please sign in to comment.