Skip to content

Commit

Permalink
Fix up some basic tstr cases
Browse files Browse the repository at this point in the history
  • Loading branch information
justinethier committed Nov 13, 2024
1 parent 044b044 commit d14563c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/test_ari_text.py
Original file line number Diff line number Diff line change
Expand Up @@ -419,7 +419,7 @@ def test_ari_text_encode_lit_prim_float64(self):
def test_ari_text_encode_lit_prim_tstr(self):
TEST_CASE = [
("test", False, True, "ari:test"),
# FIXME: ("test", False, False, "ari:%22test%22"),
("test", False, False, "ari:%22test%22"),
("test", True, True, "ari:test"),
# FIXME: ("\\'\'", True, True, "ari:%22%5C''%22"),
# FIXME: ("':!@$%^&*()-+[]{},./?", True, True, "ari:%22':!@%24%25%5E%26%2A%28%29-+%5B%5D%7B%7D%2C.%2F%3F%22"),
Expand All @@ -429,9 +429,9 @@ def test_ari_text_encode_lit_prim_tstr(self):
]

for row in TEST_CASE:
value, bool1, bool2, expect = row
value, copy, identity, expect = row
with self.subTest(value):
enc = ari_text.Encoder() #TODO: update to incorporate bool1, bool2
enc = ari_text.Encoder(text_identity=identity)
ari = LiteralARI(value)
loop = io.StringIO()
enc.encode(ari, loop)
Expand Down

0 comments on commit d14563c

Please sign in to comment.