File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -42,7 +42,10 @@ test_setvirtualenvproject_relative_path() {
42
42
mkvirtualenv " $env " > /dev/null 2>&1
43
43
setvirtualenvproject " $env " " $project " > /dev/null 2>&1
44
44
assertTrue " .project not found" " [ -f $ptrfile ]"
45
- assertEquals " $ptrfile contains wrong content" " $WORKON_HOME /$project " " $( cat $ptrfile ) "
45
+ assertEquals \
46
+ " $ptrfile contains wrong content" \
47
+ " $WORKON_HOME /$project " \
48
+ " $( cat $ptrfile | sed ' s|^/private||' ) "
46
49
}
47
50
48
51
test_setvirtualenvproject_not_a_directory () {
@@ -83,7 +86,10 @@ test_setvirtualenvproject_relative_with_dots() {
83
86
mkvirtualenv " $env " > /dev/null 2>&1
84
87
setvirtualenvproject " $env " " $project " > /dev/null 2>&1
85
88
assertTrue " .project not found" " [ -f $ptrfile ]"
86
- assertEquals " $ptrfile contains wrong content" " $WORKON_HOME /project$n " " $( cat $ptrfile ) "
89
+ assertEquals \
90
+ " $ptrfile contains wrong content" \
91
+ " $WORKON_HOME /project$n " \
92
+ " $( cat $ptrfile | sed ' s|^/private||' ) "
87
93
}
88
94
89
95
. " $test_dir /shunit2"
You can’t perform that action at this time.
0 commit comments