From 24616c6c2888ae02d21acb92069f2bebf3f57475 Mon Sep 17 00:00:00 2001 From: Paul Gauthier Date: Fri, 12 Jul 2024 17:27:23 +0100 Subject: [PATCH] Improved the descriptions of the test cases for URL formats in the test_coder.py file. --- aider/tests/test_coder.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/aider/tests/test_coder.py b/aider/tests/test_coder.py index 8f033bccc..fcab12aa8 100644 --- a/aider/tests/test_coder.py +++ b/aider/tests/test_coder.py @@ -595,10 +595,10 @@ two # Test various URL formats test_cases = [ - ("Check http://example.com", "http://example.com"), - ("Visit https://www.example.com/page", "https://www.example.com/page"), - ("Go to http://subdomain.example.com:8080/path?query=value", "http://subdomain.example.com:8080/path?query=value"), - ("See https://example.com/path#fragment", "https://example.com/path#fragment"), + ("Check http://example.com, it's cool", "http://example.com"), + ("Visit https://www.example.com/page and see stuff", "https://www.example.com/page"), + ("Go to http://subdomain.example.com:8080/path?query=value, or not", "http://subdomain.example.com:8080/path?query=value"), + ("See https://example.com/path#fragment for example", "https://example.com/path#fragment"), ("Look at http://localhost:3000", "http://localhost:3000"), ("View https://example.com/setup#whatever", "https://example.com/setup#whatever"), ("Open http://127.0.0.1:8000/api/v1/", "http://127.0.0.1:8000/api/v1/"),