Skip to content

Commit f90dfbc

Browse files
committed
update 3.4 tests to fail on heroku 18
1 parent 9ca0c4e commit f90dfbc

File tree

1 file changed

+12
-6
lines changed

1 file changed

+12
-6
lines changed

test/run-versions

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -38,20 +38,26 @@ testPython2_fail() {
3838
}
3939

4040
testPython3_4() {
41-
if [[ $STACK != "cedar-14" ]]; then
42-
updateVersion "python3_4" $LATEST_34
43-
compile "python3_4"
44-
assertCaptured $LATEST_34
45-
assertNotCaptured "security update"
41+
updateVersion "python3_4" $LATEST_34
42+
compile "python3_4"
43+
assertCaptured $LATEST_34
44+
assertNotCaptured "security update"
45+
if [[ $STACK == "cedar-14" ]] || [[ $STACK == "heroku-16" ]]; then
4646
assertCapturedSuccess
47+
else
48+
assertCapturedError
4749
fi
4850
}
4951

5052
testPython3_4_warn() {
5153
compile "python3_4_warn"
5254
assertCaptured "python-3.4.9"
5355
assertCaptured "security update!"
54-
assertCapturedSuccess
56+
if [[ $STACK == "cedar-14" ]] || [[ $STACK == "heroku-16" ]]; then
57+
assertCapturedSuccess
58+
else
59+
assertCapturedError
60+
fi
5561
}
5662

5763
testPython3_4_fail() {

0 commit comments

Comments
 (0)