From 2b7cf18786393bfbaf72da38c1b2227d7733b0bf Mon Sep 17 00:00:00 2001 From: Belle Aerni Date: Sun, 7 Apr 2024 22:16:41 -0700 Subject: [PATCH] Update unittest.yml --- .github/workflows/unittest.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/unittest.yml b/.github/workflows/unittest.yml index b773305..69273b7 100644 --- a/.github/workflows/unittest.yml +++ b/.github/workflows/unittest.yml @@ -41,14 +41,14 @@ jobs: - name: Test gzip run: | output=$(curl localhost:8000 -s -H "Accept-Encoding: gzip" | gzip -d -) - if [ ! "$output" == "Hello, world!" ]; exit 1 + if [ ! "$output" == "Hello, world!" ]; then exit 1; fi - name: Test brotli run: | output=$(curl localhost:8000 -s -H "Accept-Encoding: br" | brotli -d -) - if [ ! "$output" == "Hello, world!" ]; exit 1 + if [ ! "$output" == "Hello, world!" ]; then exit 1; fi - name: Test zstd run: | output=$(curl localhost:8000 -s -H "Accept-Encoding: zstd" | zstd -d -) - if [ ! "$output" == "Hello, world!" ]; exit 1 + if [ ! "$output" == "Hello, world!" ]; then exit 1; fi