| 1 |
package hyperv |
| 2 |
|
| 3 |
import ( |
| 4 |
"testing" |
| 5 |
|
| 6 |
"github.com/stretchr/testify/assert" |
| 7 |
) |
| 8 |
|
| 9 |
func TestConvertToUnixPath(t *testing.T) { |
| 10 |
assert.Equal(t, "/mnt/c/Users/crc", convertToUnixPath("C:\\Users\\crc")) |
| 11 |
assert.Equal(t, "/mnt/d/Users/crc", convertToUnixPath("d:\\Users\\crc")) |
| 12 |
} |