Fix shell test to reflect the fact that shell=none no longer has a usage msg.

pull/8531/head
Jeff Wu 2020-06-22 21:36:08 -07:00
parent f19ca53f34
commit 33d4ecbcc1
1 changed files with 1 additions and 2 deletions

View File

@ -40,8 +40,7 @@ func TestGenerateUsageHint(t *testing.T) {
;; (with-temp-buffer (shell-command "bar" (current-buffer)) (eval-buffer))`},
{EnvConfig{"fish"}, `# foo
# bar | source`},
{EnvConfig{"none"}, `# foo
# eval $(bar)`},
{EnvConfig{"none"}, ``},
}
for _, tc := range testCases {
tc := tc