void () { assertFileHyperlink(" at file:///home/file.txt", 4, 25, "/home/file.txt", 1, 1); assertFileHyperlink("file:///home/file.txt", 0, 21, "/home/file.txt", 1, 1); assertFileHyperlink("text before file:///home/file.txt:3 some test after", 12, 35, "/home/file.txt", 3, 1); assertFileHyperlink("text before file:///home/file.txt:3:30 some test after", 12, 38, "/home/file.txt", 3, 30); assertFileHyperlink("Click file:///C:/Users/user/file.js:12:40", 6, 41, "C:/Users/user/file.js", 12, 40); assertFileHyperlink("See file:////wsl$/Ubuntu-20.04/projects/report.txt:4", 4, 52, "//wsl$/Ubuntu-20.04/projects/report.txt", 4, 1); }