Skip to content

Commit 617dc72

Browse files
committed
Fix Range.new deprecation assertion
1 parent 4329a3c commit 617dc72

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/elixir/test/elixir/range_test.exs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ defmodule RangeTest do
3535

3636
assert ExUnit.CaptureIO.capture_io(:stderr, fn ->
3737
assert Range.new(3, 1) == 3..1//-1
38-
end) =~ "has a default step of -1"
38+
end) =~ "default to a step of -1"
3939
end
4040

4141
test "fields" do

0 commit comments

Comments
 (0)