diff --git a/src/Xrefcheck/Core.hs b/src/Xrefcheck/Core.hs index e97b00bc..249c4a93 100644 --- a/src/Xrefcheck/Core.hs +++ b/src/Xrefcheck/Core.hs @@ -23,7 +23,7 @@ import Data.Map qualified as M import Data.Reflection (Given) import Data.Text qualified as T import Fmt (Buildable (..), blockListF, blockListF', indentF) -import System.FilePath.Posix (isPathSeparator, pathSeparator) +import System.FilePath.Posix (isPathSeparator) import Text.Interpolation.Nyan import Time (Second, Time) diff --git a/tests/golden/check-ignoreExternalRefsTo/expected_linux.gold b/tests/golden/check-ignoreExternalRefsTo/expected_linux.gold index f3895397..365f6aff 100644 --- a/tests/golden/check-ignoreExternalRefsTo/expected_linux.gold +++ b/tests/golden/check-ignoreExternalRefsTo/expected_linux.gold @@ -1,5 +1,3 @@ - - === Invalid references found === ➥ In file check-ignoreExternalRefsTo.md @@ -10,8 +8,6 @@ ⛂ InternalException (HostCannotConnect "localhost" [Network.Socket.connect: : does not exist (Connection refused)]) - - ➥ In file check-ignoreExternalRefsTo.md bad reference (external) at src:9:10-45: - text: "team" @@ -20,8 +16,6 @@ ⛂ InternalException (HostCannotConnect "127.0.0.1" [Network.Socket.connect: : does not exist (Connection refused)]) - - ➥ In file check-ignoreExternalRefsTo.md bad reference (external) at src:11:10-44: - text: "blog" @@ -30,8 +24,6 @@ ⛂ ConnectionFailure Network.Socket.connect: : does not exist (Connection refused) - - ➥ In file check-ignoreExternalRefsTo.md bad reference (external) at src:13:10-44: - text: "labs" @@ -40,6 +32,4 @@ ⛂ ConnectionFailure Network.Socket.connect: : does not exist (Connection refused) - - Invalid references dumped, 4 in total. diff --git a/tests/golden/check-ignoreExternalRefsTo/expected_windows.gold b/tests/golden/check-ignoreExternalRefsTo/expected_windows.gold index ea841b4a..d5e72393 100644 --- a/tests/golden/check-ignoreExternalRefsTo/expected_windows.gold +++ b/tests/golden/check-ignoreExternalRefsTo/expected_windows.gold @@ -10,8 +10,6 @@ ⛂ InternalException (HostCannotConnect "localhost" [Network.Socket.connect: : failed (Connection refused (WSAECONNREFUSED)),Network.Socket.connect: : failed (Connection refused (WSAECONNREFUSED))]) - - ➥ In file check-ignoreRefs.md bad reference (external) at src:9:10-45: - text: "team" @@ -20,8 +18,6 @@ ⛂ InternalException (HostCannotConnect "127.0.0.1" [Network.Socket.connect: : failed (Connection refused (WSAECONNREFUSED))]) - - ➥ In file check-ignoreRefs.md bad reference (external) at src:11:10-44: - text: "blog" @@ -30,8 +26,6 @@ ⛂ ConnectionFailure Network.Socket.connect: : failed (Connection refused (WSAECONNREFUSED)) - - ➥ In file check-ignoreRefs.md bad reference (external) at src:13:10-44: - text: "labs" @@ -40,6 +34,4 @@ ⛂ ConnectionFailure Network.Socket.connect: : failed (Connection refused (WSAECONNREFUSED)) - - Invalid references dumped, 4 in total.