mirror of
https://github.com/erlef/setup-beam.git
synced 2026-07-31 19:16:08 +00:00
Don't preprend v when elixir version does not start with digits (#61)
This commit is contained in:
@@ -187,6 +187,14 @@ async function testElixirVersions() {
|
||||
got = await setupBeam.getElixirVersion(spec, otpVersion)
|
||||
assert.deepStrictEqual(got, expected)
|
||||
simulateInput('version-type', 'loose')
|
||||
|
||||
simulateInput('version-type', 'strict')
|
||||
spec = 'master'
|
||||
otpVersion = '23.1'
|
||||
expected = 'master-otp-23'
|
||||
got = await setupBeam.getElixirVersion(spec, otpVersion)
|
||||
assert.deepStrictEqual(got, expected)
|
||||
simulateInput('version-type', 'loose')
|
||||
}
|
||||
|
||||
async function testRebar3Versions() {
|
||||
|
||||
Reference in New Issue
Block a user