Kaynağa Gözat

Merge pull request #722 from blueyed/fix-test-for-fish-issue-369

Fix test for adding shims in fish
pull/487/head^2
Mislav Marohnić 11 yıl önce
ebeveyn
işleme
5b9e4f0584
1 değiştirilmiş dosya ile 2 ekleme ve 2 silme
  1. +2
    -2
      test/init.bats

+ 2
- 2
test/init.bats Dosyayı Görüntüle

@ -71,11 +71,11 @@ load test_helper
assert_line 0 'export PATH="'${RBENV_ROOT}'/shims:${PATH}"'
}
@test "doesn't add shims to PATH more than once (fish)" {
@test "can add shims to PATH more than once (fish)" {
export PATH="${RBENV_ROOT}/shims:$PATH"
run rbenv-init - fish
assert_success
refute_line 'setenv PATH "'${RBENV_ROOT}'/shims" $PATH ;';
assert_line 0 "setenv PATH '${RBENV_ROOT}/shims' \$PATH";
}
@test "outputs sh-compatible syntax" {

Yükleniyor…
İptal
Kaydet