From f90dfbc12e80e352e448eb9dc1e724e3c7a2670c Mon Sep 17 00:00:00 2001 From: Casey Faist Date: Thu, 24 Oct 2019 09:40:31 -0700 Subject: [PATCH] update 3.4 tests to fail on heroku 18 --- test/run-versions | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/test/run-versions b/test/run-versions index bf4b8b8..3459aa5 100755 --- a/test/run-versions +++ b/test/run-versions @@ -38,12 +38,14 @@ testPython2_fail() { } testPython3_4() { - if [[ $STACK != "cedar-14" ]]; then - updateVersion "python3_4" $LATEST_34 - compile "python3_4" - assertCaptured $LATEST_34 - assertNotCaptured "security update" + updateVersion "python3_4" $LATEST_34 + compile "python3_4" + assertCaptured $LATEST_34 + assertNotCaptured "security update" + if [[ $STACK == "cedar-14" ]] || [[ $STACK == "heroku-16" ]]; then assertCapturedSuccess + else + assertCapturedError fi } @@ -51,7 +53,11 @@ testPython3_4_warn() { compile "python3_4_warn" assertCaptured "python-3.4.9" assertCaptured "security update!" - assertCapturedSuccess + if [[ $STACK == "cedar-14" ]] || [[ $STACK == "heroku-16" ]]; then + assertCapturedSuccess + else + assertCapturedError + fi } testPython3_4_fail() {