blob: 04f1288944007c573371e7b1ad7603c4144e01d5 [file] [log] [blame]
// Copyright 2020 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
//go:build !windows
// +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)
})
})
})
}