Skip to content

Commit

Permalink
style: formats code
Browse files Browse the repository at this point in the history
  • Loading branch information
PatrickfBraz committed Jul 16, 2024
1 parent 3b754f7 commit b348834
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions metadata-ingestion/tests/unit/test_bigqueryv2_usage_source.py
Original file line number Diff line number Diff line change
Expand Up @@ -230,3 +230,11 @@ def test_unquote_and_decode_unicode_escape_seq():
expected_output = "Hello \\utest"
result = unquote_and_decode_unicode_escape_seq(input_string)
assert result == expected_output

# Test with special characters
input_string = (
'"Hello \\u003cWorld\\u003e \\u003cçãâÁÁà|{}()[].,/;\\+=--_*&%$#@!?\\u003e"'
)
expected_output = "Hello <World> <çãâÁÁà|{}()[].,/;\\+=--_*&%$#@!?>"
result = unquote_and_decode_unicode_escape_seq(input_string)
assert result == expected_output

0 comments on commit b348834

Please sign in to comment.