Skip to content

Commit

Permalink
Update json_tests.py
Browse files Browse the repository at this point in the history
  • Loading branch information
AndresCdo committed Apr 20, 2023
1 parent 04e3565 commit aaa42bc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/unit/json_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@


class TestParseJson(unittest.TestCase):
"""Test the JSON parser."""
def test_valid_json(self):
# Test that a valid JSON string is parsed correctly
json_str = '{"name": "John", "age": 30, "city": "New York"}'
Expand Down Expand Up @@ -111,4 +112,5 @@ def test_invalid_json_leading_sentence_with_gpt(self):


if __name__ == "__main__":
"""Run the tests"""
unittest.main()

0 comments on commit aaa42bc

Please sign in to comment.