1
0
Fork 0

Fix tests

pull/128/head
damccorm 2019-09-09 11:57:17 -04:00
parent 3dcd65e44b
commit 4ff3b554b8
1 changed files with 4 additions and 4 deletions

View File

@ -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}`
])
})