According to the golang documentation of path and filepath, path "implements utility routines for manipulating slash-separated paths," while filepath "implements utility routines for manipulating filename paths in a way compatible with the target operating system-defined file paths." The use of path caused the test to fail on Windows.
According to the golang documentation of path and filepath, path "implements utility routines for manipulating slash-separated paths," while filepath "implements utility routines for manipulating filename paths in a way compatible with the target operating system-defined file paths." The use of path caused the test to fail on Windows.