Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
dshaaban01 committed Dec 22, 2024
1 parent dac8f5d commit 9bf242b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/interactive/test_app.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,13 +53,13 @@ async def test_inputs():
await pilot.pause()
assert (
app.output_text_area.text
== "<unknown>:1:5\ndkjfd\n ^\n Operation builtin.unregistered does not have a custom format.\n"
== "<unknown>:1:5\ndkjfd\n ^\n unregistered operation dkjfd!\n"
)

assert isinstance(app.current_module, ParseError)
assert (
str(app.current_module)
== "<unknown>:1:5\ndkjfd\n ^\n Operation builtin.unregistered does not have a custom format.\n"
== "<unknown>:1:5\ndkjfd\n ^\n unregistered operation dkjfd!\n"
)

# Test corect input
Expand Down

0 comments on commit 9bf242b

Please sign in to comment.