Skip to content

Commit 7063361

Browse files
committed
Skip heisentest on earlier OTP versions
1 parent e5cb77f commit 7063361

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

test/ex_doc/language/elixir_test.exs

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,7 @@ defmodule ExDoc.Language.ElixirTest do
9797
assert_unchanged("bar/1", current_module: AutolinkTest.Foo)
9898
end
9999

100+
@tag :otp24
100101
test "auto-imported function" do
101102
assert autolink_doc("+/2") ==
102103
~m"[`+/2`](https://hexdocs.pm/elixir/Kernel.html#+/2)"
@@ -107,11 +108,8 @@ defmodule ExDoc.Language.ElixirTest do
107108
assert autolink_doc("for/1", apps: [:elixir]) ==
108109
~m"[`for/1`](Kernel.SpecialForms.html#for/1)"
109110

110-
# TODO: Remove check once Elixir v1.12+ is required
111-
if Version.match?(System.version(), ">= 1.12.0-rc.0") do
112-
assert autolink_doc("..///3") ==
113-
~m"[`..///3`](https://hexdocs.pm/elixir/Kernel.html#..///3)"
114-
end
111+
assert autolink_doc("..///3") ==
112+
~m"[`..///3`](https://hexdocs.pm/elixir/Kernel.html#..///3)"
115113
end
116114

117115
test "elixir callback" do

0 commit comments

Comments
 (0)