@@ -230,21 +230,21 @@ void getFileNameWithMultipleDotsString() {
230230
231231 @ ParameterizedTest
232232 @ CsvSource (textBlock = """
233- test.file, www.example.com/test.file
234- test.file, http://www.example.com/test.file
235- test.file, https://www.example.com/test.file
236- test.file, www.example.com/path/to/test.file
237- test.file, http://www.example.com/path/to/test.file
238- test.file, https://www.example.com/path/to/test.file
239- test.file, https://www.example.com/not\\ a\\ windows\\ path/test.file
240- test.file, https://www.example.com////test.file
241- blank, https://www.example.com/path/to/blank
242- blank, https://www.example.com/not\\ a\\ windows\\ path/blank
243- not\\ a\\ windows.file, https://www.example.com/path/to/not\\ a\\ windows.file
244- test.file, https://www.example.com/path/to/file.pdf?field=value
245- test.file, https://www.example.com/path/to/file.pdf?a=1&b=2
246- test.file, https://www.example.com/path/to/file.pdf?search=for+a+file
247- blank, https://www.example.com/path/to/blank?search=for+a+file
233+ test.file, www.example.com/test.file
234+ test.file, http://www.example.com/test.file
235+ test.file, https://www.example.com/test.file
236+ test.file, www.example.com/path/to/test.file
237+ test.file, http://www.example.com/path/to/test.file
238+ test.file, https://www.example.com/path/to/test.file
239+ test.file, https://www.example.com/not\\ a\\ windows\\ path/test.file
240+ test.file, https://www.example.com////test.file
241+ blank, https://www.example.com/path/to/blank
242+ blank, https://www.example.com/not\\ a\\ windows\\ path/blank
243+ not\\ a\\ windows.file, https://www.example.com/path/to/not\\ a\\ windows.file
244+ test.file, https://www.example.com/path/to/file.pdf?field=value
245+ test.file, https://www.example.com/path/to/file.pdf?a=1&b=2
246+ test.file, https://www.example.com/path/to/file.pdf?search=for+a+file
247+ blank, https://www.example.com/path/to/blank?search=for+a+file
248248 """ )
249249 void getFileNameFromUrlsCorrectly (String file , String url ) {
250250 assertEquals (file , FileUtil .getFileNameFromUrl (url ).orElse ("file.pdf" ), "from '" + url + "'" );
0 commit comments