From dac7c8a8aa62f31dca7a687d4dbf08158351d5e1 Mon Sep 17 00:00:00 2001 From: Llewellyn Falco Date: Sun, 24 Mar 2024 18:31:11 +0000 Subject: [PATCH] . t fixed 2 whitespace tests if you are editing these tests AND Black is on then you need to make sure the configuration is turned on Co-Authored-By: 4dsherwood <4dsherwood@users.noreply.github.com> Co-Authored-By: Susan Fung <38925660+susanfung@users.noreply.github.com> Co-Authored-By: blade290 <43077216+blade290@users.noreply.github.com> Co-Authored-By: T. E. Green <78671457+Tegsy@users.noreply.github.com> --- tests/test_inline_approvals.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/test_inline_approvals.py b/tests/test_inline_approvals.py index 9658975..edc9249 100644 --- a/tests/test_inline_approvals.py +++ b/tests/test_inline_approvals.py @@ -164,24 +164,24 @@ def test_with_labeled_input_inline(self) -> None: def get_preceding_whitespace(): return " 4 whitespaces" - +# fmt: off def test_preceding_whitespace(): """ - 4 whitespaces + 4 whitespaces """ verify(get_preceding_whitespace(), options=Options().inline(show_code=True)) def test_trailing_whitespace(): """ - 4 trailing whitespaces + 4 trailing whitespaces """ # Note: Pycharm will remove the trailing whitespaces, to disable this go to: # File -> Settings -> Editor -> General -> On Save -> [ ] Remove trailing spaces verify("4 trailing whitespaces ", options=Options().inline(show_code=False)) +# fmt: on -# 2. [ ] fix inline bug with blank lines <- from todo list def test_bug_blank_lines(): """