From be1b9ed4db5ff1c64b51dc4b360d787a9add48dd Mon Sep 17 00:00:00 2001 From: dgtlmoon Date: Fri, 3 Oct 2025 17:17:37 +0200 Subject: [PATCH] Add more content to test --- changedetectionio/tests/unit/test_notification_diff.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/changedetectionio/tests/unit/test_notification_diff.py b/changedetectionio/tests/unit/test_notification_diff.py index bfd7ee1f..28e836e8 100755 --- a/changedetectionio/tests/unit/test_notification_diff.py +++ b/changedetectionio/tests/unit/test_notification_diff.py @@ -201,8 +201,8 @@ Line 4""" def test_case_insensitive_with_real_changes(self): """Test case-insensitive comparison with actual content differences""" - before = "Hello World\nGoodbye WORLD" - after = "HELLO world\nGoodbye Friend" + before = "Hello World\nGoodbye WORLD to all my friends and family" + after = "HELLO world\nGoodbye Friend to all my friends and family" # Case-insensitive should only detect the second line change output = diff.render_diff(before, after, include_equal=False, case_insensitive=True, word_diff=True) @@ -301,8 +301,8 @@ Line 4""" def test_ignore_junk_case_insensitive_combination(self): """Test ignore_junk combined with case_insensitive""" - before = "The QUICK Brown Fox" - after = "The quick brown FOX" + before = "The QUICK Brown Fox jumps over the lazy dog every day" + after = "The quick brown FOX jumps over the lazy dog every day" # Both enabled: should ignore case and whitespace output = diff.render_diff(before, after, include_equal=False, word_diff=True,