mirror of
https://github.com/peaceiris/actions-hugo.git
synced 2025-06-18 01:55:29 +08:00
[CodeFactor] Apply fixes to commit e70fd02
This commit is contained in:
parent
e70fd029fa
commit
c7d0025d39
@ -54,10 +54,10 @@ describe('getArch', () => {
|
|||||||
test('exception', () => {
|
test('exception', () => {
|
||||||
expect(() => {
|
expect(() => {
|
||||||
getArch('mips', 'linux', '0.101.0');
|
getArch('mips', 'linux', '0.101.0');
|
||||||
}).toThrowError('mips is not supported');
|
}).toThrow('mips is not supported');
|
||||||
|
|
||||||
expect(() => {
|
expect(() => {
|
||||||
getArch('arm', 'linux', '0.102.0')
|
getArch('arm', 'linux', '0.102.0')
|
||||||
}).toThrowError('arm is not supported');
|
}).toThrow('arm is not supported');
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
@ -22,6 +22,6 @@ describe('getOS', () => {
|
|||||||
test('exception', () => {
|
test('exception', () => {
|
||||||
expect(() => {
|
expect(() => {
|
||||||
getOS('centos', '0.101.0');
|
getOS('centos', '0.101.0');
|
||||||
}).toThrowError('centos is not supported');
|
}).toThrow('centos is not supported');
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user