Skip to content

Commit

Permalink
Add test for regexes inb out section.
Browse files Browse the repository at this point in the history
  • Loading branch information
brunns committed Aug 6, 2021
1 parent 95f6552 commit c239a2d
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions pytest_mypy_plugins/tests/test-regex_assertions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,11 @@
reveal_type(a) # N: Revealed type is "builtins.int"
reveal_type(b) # N: .*str.*
- case: expected_message_regex_with_out
regex: yes
main: |
a = 'abc'
reveal_type(a)
out: |
main:2: note: .*str.*

0 comments on commit c239a2d

Please sign in to comment.