Support nightly Julia builds

This commit is contained in:
Sascha Mann
2019-11-24 20:55:13 +01:00
parent b199a80ea6
commit 767e91ee6e
4 changed files with 43 additions and 6 deletions

View File

@@ -14,6 +14,10 @@ describe('installer tests', () => {
expect(await installer.getJuliaVersion(['v1.2.0', 'v1.3.0-alpha', 'v1.3.0-rc1', 'v1.3.0'], '1.3.0-alpha')).toEqual('1.3.0-alpha')
expect(await installer.getJuliaVersion([], '1.3.0-rc2')).toEqual('1.3.0-rc2')
})
it('Doesn\'t change the version when given `nightly`', async () => {
expect(await installer.getJuliaVersion([], 'nightly')).toEqual('nightly')
expect(await installer.getJuliaVersion(testVersions, 'nightly')).toEqual('nightly')
})
})
describe('version ranges', () => {
it('Chooses the highest available version that matches the input', async () => {