From 4ff3b554b81fdfb4a273eccec747f042840cd32a Mon Sep 17 00:00:00 2001 From: damccorm Date: Mon, 9 Sep 2019 11:57:17 -0400 Subject: [PATCH] Fix tests --- packages/core/__tests__/lib.test.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/core/__tests__/lib.test.ts b/packages/core/__tests__/lib.test.ts index 9c9b4970..23c3aafb 100644 --- a/packages/core/__tests__/lib.test.ts +++ b/packages/core/__tests__/lib.test.ts @@ -157,12 +157,12 @@ describe('@actions/core', () => { it('startGroup starts a new group', () => { core.startGroup('my-group') - assertWriteCalls([`##[group]my-group${os.EOL}`]) + assertWriteCalls([`::group::my-group${os.EOL}`]) }) it('endGroup ends new group', () => { core.endGroup() - assertWriteCalls([`##[endgroup]${os.EOL}`]) + assertWriteCalls([`::endgroup::${os.EOL}`]) }) it('group wraps an async call in a group', async () => { @@ -172,9 +172,9 @@ describe('@actions/core', () => { }) expect(result).toBe(true) assertWriteCalls([ - `##[group]mygroup${os.EOL}`, + `::group::mygroup${os.EOL}`, 'in my group\n', - `##[endgroup]${os.EOL}` + `::endgroup::${os.EOL}` ]) })