mirror of
https://github.com/actions/checkout.git
synced 2025-04-04 07:20:07 +02:00
fix format
This commit is contained in:
parent
ce360f4105
commit
f7ec886a95
1 changed files with 3 additions and 1 deletions
|
@ -25,7 +25,9 @@ describe('ref-helper tests', () => {
|
||||||
await refHelper.getCheckoutInfo(git, '', '')
|
await refHelper.getCheckoutInfo(git, '', '')
|
||||||
throw new Error('Should not reach here')
|
throw new Error('Should not reach here')
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
expect((err as any)?.message).toBe('Args ref and commit cannot both be empty')
|
expect((err as any)?.message).toBe(
|
||||||
|
'Args ref and commit cannot both be empty'
|
||||||
|
)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue