add unicode command test

This commit is contained in:
Gokcehan 2016-11-18 22:45:49 +03:00
parent 586938fa70
commit 4e1f1601fe

View File

@ -107,6 +107,12 @@ var gTests = []struct {
[]Expr{&CmdExpr{"usage", &ExecExpr{"$", "du -h . | less"}}},
},
{
"cmd 世界 $echo 世界",
[]string{"cmd", "世界", "$", "echo 世界", "\n"},
[]Expr{&CmdExpr{"世界", &ExecExpr{"$", "echo 世界"}}},
},
{
"map u usage",
[]string{"map", "u", "usage", "\n"},