Skip to content

Commit

Permalink
Merge pull request #287 from RomanKotov/fix/changelog-typo
Browse files Browse the repository at this point in the history
Fix typo and capture extra output from tests
  • Loading branch information
parroty committed Sep 10, 2022
2 parents 960a0b5 + d28926d commit d715fb2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
@@ -1,7 +1,7 @@
0.14.6
------
#### Changes
- Survive coveralls maintenance and outagle (#283).
- Survive coveralls maintenance and outage (#283).
- Better handling of coveralls.io errors (ex. 405, 500 status codes).

0.14.5
Expand Down
6 changes: 4 additions & 2 deletions test/mix/tasks_test.exs
Expand Up @@ -63,8 +63,10 @@ defmodule Mix.Tasks.CoverallsTest do
end

test_with_mock "doesn't pass through coveralls args", Runner, [run: fn(_, _) -> nil end] do
Mix.Tasks.Coveralls.run(["--include", "remote", "-x", "--unknown", "value", "--verbose", "-u", "--filter", "x"])
assert(called Runner.run("test", ["--cover", "--include", "remote", "-x", "--unknown", "value"]))
capture_io(fn ->
Mix.Tasks.Coveralls.run(["--include", "remote", "-x", "--unknown", "value", "--verbose", "-u", "--filter", "x"])
assert(called Runner.run("test", ["--cover", "--include", "remote", "-x", "--unknown", "value"]))
end)
end

test_with_mock "detail", Runner, [run: fn(_, _) -> nil end] do
Expand Down

0 comments on commit d715fb2

Please sign in to comment.