From d3a6c14a79c7d85812622c7824812f0d520dec11 Mon Sep 17 00:00:00 2001 From: Gabor Greif Date: Wed, 18 Jan 2023 23:40:07 +0100 Subject: [PATCH] check for multi-line too --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index dd72168..8e98909 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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") + 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)