From 0057d19082822d3cd0cfda1f3f282ae4df97ab27 Mon Sep 17 00:00:00 2001 From: Casey Faist Date: Mon, 23 Dec 2019 12:28:31 -0500 Subject: [PATCH] Typo in bash if-else block --- test/run-versions | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/test/run-versions b/test/run-versions index 7076654..c207be1 100755 --- a/test/run-versions +++ b/test/run-versions @@ -180,20 +180,22 @@ testPypy3_6() { compile "pypy3_6" if [[ $STACK = "cedar-14" ]]; then assertCapturedError + else + assertCaptured "Installing pypy" + assertCaptured "$PYPY_36" + assertCapturedSuccess fi - assertCaptured "Installing pypy" - assertCaptured "$PYPY_36" - assertCapturedSuccess } testPypy2_7() { compile "pypy2_7" if [[ $STACK = "cedar-14" ]]; then assertCapturedError + else + assertCaptured "Installing pypy" + assertCaptured "$PYPY_27" + assertCapturedSuccess fi - assertCaptured "Installing pypy" - assertCaptured "$PYPY_27" - assertCapturedSuccess } pushd $(dirname 0) >/dev/null