Skip to content

Commit

Permalink
d updated markdown snippets
Browse files Browse the repository at this point in the history
  • Loading branch information
actions-user committed Apr 28, 2024
1 parent 1d4f28e commit 1837f10
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 10 deletions.
4 changes: 3 additions & 1 deletion approvaltests/namer/inline_comparator.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,9 @@ def get_caller_method(caller_frame) -> Callable:
return caller_function_object

def register(self, options: "Options", inline_options: InlineOptions = None):
inline_options = InlineOptions.show_code() if inline_options is None else inline_options
inline_options = (
InlineOptions.show_code() if inline_options is None else inline_options
)
options2 = options.with_namer(self)
options2 = inline_options.apply(options2)

Expand Down
10 changes: 1 addition & 9 deletions tests/test_inline_approvals.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,11 +79,6 @@ def greeting():
return "hello\nworld"







def test_docstring_parsing():
"""
1
Expand Down Expand Up @@ -177,7 +172,4 @@ def test_bug_blank_lines():
"""
verify(
"\n\ntest bug with blank lines\n\n\n\n",
options=Options().inline()
)
verify("\n\ntest bug with blank lines\n\n\n\n", options=Options().inline())

0 comments on commit 1837f10

Please sign in to comment.