Fix Windows CI.

This commit is contained in:
Qi Xiao 2018-02-03 18:51:35 -08:00
parent 24d1eac385
commit 5f1d0aa7a1

View File

@ -9,7 +9,7 @@ func TestBuiltinFnFS(t *testing.T) {
pathSep := string(filepath.Separator)
runTests(t, []Test{
{`path-base a/b/c.png`, want{out: strs("c.png")}},
{`tilde-abbr $E:HOME` + pathSep + `foobar`,
{`tilde-abbr $E:HOME'` + pathSep + `'foobar`,
want{out: strs("~" + pathSep + "foobar")}},
{`-is-dir ~/dir`, wantTrue}, // see testmain_test.go for setup