Skip to content

Commit

Permalink
fix regression test
Browse files Browse the repository at this point in the history
  • Loading branch information
suxiaogang223 committed Sep 19, 2024
1 parent f59b5b6 commit 72812ee
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,25 +7,25 @@
\N

%2Fhome%2Fdoris%2Fdirectory%2F
%7E%21%40%23%25%5E%26*%28%29%3C%3E%3F%2C.%2F%3A%7B%7D%7C%5B%5D%5C_%2B-%3D
1234567890
ABCDEFGHIJKLMNOPQRSTUWXYZ
~%21%40%23%25%5E%26%2A%28%29%3C%3E%3F%2C.%2F%3A%7B%7D%7C%5B%5D%5C_%2B-%3D

-- !not_nullable --


%2Fhome%2Fdoris%2Fdirectory%2F
%7E%21%40%23%25%5E%26*%28%29%3C%3E%3F%2C.%2F%3A%7B%7D%7C%5B%5D%5C_%2B-%3D
1234567890
ABCDEFGHIJKLMNOPQRSTUWXYZ
~%21%40%23%25%5E%26%2A%28%29%3C%3E%3F%2C.%2F%3A%7B%7D%7C%5B%5D%5C_%2B-%3D

-- !nullable_no_null --


%2Fhome%2Fdoris%2Fdirectory%2F
%7E%21%40%23%25%5E%26*%28%29%3C%3E%3F%2C.%2F%3A%7B%7D%7C%5B%5D%5C_%2B-%3D
1234567890
ABCDEFGHIJKLMNOPQRSTUWXYZ
~%21%40%23%25%5E%26%2A%28%29%3C%3E%3F%2C.%2F%3A%7B%7D%7C%5B%5D%5C_%2B-%3D

-- !const_nullable --

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ suite("fold_constant_string_arithmatic") {
testFoldConst("SELECT StrRight('Hello World', 5)")
testFoldConst("SELECT Overlay('abcdef', '123', 3, 2)")
testFoldConst("SELECT Parse_Url('http://www.example.com/path?query=abc', 'HOST')")
testFoldConst("SELECT Url_Decode('%20Hello%20World%20')")
testFoldConst("SELECT Url_Decode('+Hello+World+')")
testFoldConst("SELECT Url_Encode(' Hello World ')")

// Substring with negative start index
Expand Down Expand Up @@ -439,7 +439,7 @@ suite("fold_constant_string_arithmatic") {
testFoldConst("SELECT StrRight(cast('Hello World' as string), 5)")
testFoldConst("SELECT Overlay(cast('abcdef' as string), cast('123' as string), 3, 2)")
testFoldConst("SELECT Parse_Url(cast('http://www.example.com/path?query=abc' as string), cast('HOST' as string))")
testFoldConst("SELECT Url_Decode(cast('%20Hello%20World%20' as string))")
testFoldConst("SELECT Url_Decode(cast('+Hello+World+' as string))")
testFoldConst("SELECT Url_Encode(cast(' Hello World ' as string))")

// Substring with negative start index
Expand Down

0 comments on commit 72812ee

Please sign in to comment.