blob: 1ecee45b1931c62eb770d62248be7b0deeee6b9d [file] [log] [blame]
// +build !windows
package main
import (
"testing"
. "github.com/smartystreets/goconvey/convey"
)
func TestConvertPathSlashesUnix(t *testing.T) {
t.Parallel()
Convey("Convert path with forward slashes", t, func() {
p := "\\test\\path\\"
Convey("On Unix", func() {
Convey("The path should be the same", func() {
So(convertPathToForwardSlashes(p), ShouldEqual, p)
})
})
})
}