From 0b554f660f249010482d2adfdfb624f53ca61c4f Mon Sep 17 00:00:00 2001
From: Casey Faist <caseylfaist@gmail.com>
Date: Mon, 12 Nov 2018 17:27:07 -0600
Subject: [PATCH] update tests for missed stack issues

---
 test/run | 13 +++++++++----
 1 file changed, 9 insertions(+), 4 deletions(-)

diff --git a/test/run b/test/run
index 484f241d..67d97c8a 100755
--- a/test/run
+++ b/test/run
@@ -89,9 +89,13 @@ testPylibmc() {
 
 testPython2_warn() {
     compile "python2_warn"
-    assertCaptured "python-2.7.14"
-    assertCaptured "security update!"
-    assertCapturedSuccess
+    if [[ $STACK = "heroku-18" ]]; then
+      assertCapturedError
+    else
+      assertCaptured "python-2.7.14"
+      assertCaptured "security update!"
+      assertCapturedSuccess
+    fi
 }
 
 testPython2() {
@@ -123,7 +127,8 @@ testPython3_5_warn() {
   compile "python3_5_warn"
   if [[ $STACK = "cedar-14" ]]; then
     assertCaptured "python-3.5.3"
-    assertCapturedSuccess
+    assertCaptured "security update!"
+    assertCapturedError
   else
     assertCapturedError
   fi
-- 
GitLab