mirror of
https://github.com/erlef/setup-beam.git
synced 2026-07-30 19:50:49 +00:00
Crash on invalid Elixir+OTP combo (#134)
* Prevent "future" errors when choosing incompatible Elixir v. OTP versions * Fix tests as per GitHub Actions' output * Make test elixir `master` strict It has no -otp- in the name
This commit is contained in:
@@ -171,8 +171,8 @@ async function testElixirVersions() {
|
||||
let otpVersion
|
||||
|
||||
spec = '1.1.x'
|
||||
otpVersion = 'OTP-23'
|
||||
expected = 'v1.1.1'
|
||||
otpVersion = 'OTP-17'
|
||||
expected = 'v1.1.1-otp-17'
|
||||
got = await setupBeam.getElixirVersion(spec, otpVersion)
|
||||
assert.deepStrictEqual(got, expected)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user