diff --git a/.github/elixir-matchers.json b/.github/elixir-matchers.json index fefac5f..df01df6 100644 --- a/.github/elixir-matchers.json +++ b/.github/elixir-matchers.json @@ -57,22 +57,6 @@ "column": 3 } ] - }, - { - "owner": "elixir-dialyzerOutputDefault", - "severity": "warning", - "pattern": [ - { - "regexp": "^(.*):(\\d+):(.*)", - "file": 1, - "line": 2, - "code": 3 - }, - { - "regexp": "^(.*)$", - "message": 1 - } - ] } ] } diff --git a/__tests__/problem-matchers.test.js b/__tests__/problem-matchers.test.js index 341f507..e8d0d78 100644 --- a/__tests__/problem-matchers.test.js +++ b/__tests__/problem-matchers.test.js @@ -6,7 +6,6 @@ async function all() { await testElixirMixCompileWarning() await testElixirMixTestFailure() await testElixirCredoOutputDefault() - await testElixirDialyzerOutputDefault() } async function testElixirMixCompileError() { @@ -74,24 +73,6 @@ async function testElixirCredoOutputDefault() { assert.equal(column, '7') } -async function testElixirDialyzerOutputDefault() { - const [messagePattern, filePattern] = problemMatcher.find( - ({ owner }) => owner === 'elixir-dialyzerOutputDefault', - ).pattern - - const firstOutput = 'lib/test.ex:15:invalid_contract' - const secondOutput = - 'The @spec for the function does not match the success typing of the function.' - - const [, file, line, code] = firstOutput.match(messagePattern.regexp) - assert.equal(file, 'lib/test.ex') - assert.equal(line, '15') - assert.equal(code, 'invalid_contract') - - const [, message] = secondOutput.match(filePattern.regexp) - assert.equal(message, secondOutput) -} - all() .then(() => process.exit(0)) .catch((err) => { diff --git a/dist/.github/elixir-matchers.json b/dist/.github/elixir-matchers.json index fefac5f..df01df6 100644 --- a/dist/.github/elixir-matchers.json +++ b/dist/.github/elixir-matchers.json @@ -57,22 +57,6 @@ "column": 3 } ] - }, - { - "owner": "elixir-dialyzerOutputDefault", - "severity": "warning", - "pattern": [ - { - "regexp": "^(.*):(\\d+):(.*)", - "file": 1, - "line": 2, - "code": 3 - }, - { - "regexp": "^(.*)$", - "message": 1 - } - ] } ] }