1
0
mirror of https://github.com/pyenv/pyenv.git synced 2025-11-16 15:23:53 -05:00

Fix broken tests

This commit is contained in:
Yamashita Yuu
2014-01-03 02:05:40 +09:00
parent 88922e2bc0
commit 3dd9332eee
9 changed files with 62 additions and 47 deletions

View File

@@ -38,7 +38,7 @@ setup() {
@test "reads only the first word from file" {
cat > my-version <<<"1.9.3-p194@tag 1.8.7 hi"
run pyenv-version-file-read my-version
assert_success "1.9.3-p194@tag"
assert_success "1.9.3-p194@tag:1.8.7:hi"
}
@test "loads only the first line in file" {
@@ -47,7 +47,7 @@ setup() {
1.9.3 two
IN
run pyenv-version-file-read my-version
assert_success "1.8.7"
assert_success "1.8.7:one:1.9.3:two"
}
@test "ignores leading blank lines" {