From df11ebfac270de6963be1035f4c5e920f63100aa Mon Sep 17 00:00:00 2001 From: Gabor Greif Date: Thu, 19 Jan 2023 15:19:07 +0100 Subject: [PATCH] test `%` too --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3af5c23..940cc7b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -31,7 +31,7 @@ jobs: tag: ci-test-${{ matrix.os }}-${{ github.run_id }} overwrite: true prerelease: true - body: "rofl lol test%0Aianal fubar" + body: "rofl lol test%0Aianal %25 fubar" - name: Check that the uploaded asset is readable uses: actions/github-script@v2 with: @@ -47,7 +47,7 @@ jobs: tag: "ci-test-${{ matrix.os }}-${{ github.run_id }}", }) assert.deepStrictEqual(release.data.prerelease, true) - assert.deepStrictEqual(release.data.body, "rofl lol test\nianal fubar") + assert.deepStrictEqual(release.data.body, "rofl lol test\nianal % fubar") assert.deepStrictEqual(release.data.assets[0].name, "TEST.md") const actual = child_process.execSync(`curl -Ls ${release.data.assets[0].browser_download_url}`) assert.deepStrictEqual(expected, actual)