Skip to content

Commit 0fca9be

Browse files
committed
Remove test for warning disabled on 1.19
1 parent b3e3e8c commit 0fca9be

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

lib/elixir/test/elixir/kernel/warning_test.exs

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -2237,20 +2237,6 @@ defmodule Kernel.WarningTest do
22372237
purge(Sample)
22382238
end
22392239

2240-
test "deprecate non-quoted variables in bitstring size modifiers" do
2241-
assert_warn_eval(
2242-
[
2243-
"the variable \"a\" is accessed inside size(...) of a bitstring but it was defined outside of the match",
2244-
"You must precede it with the pin operator"
2245-
],
2246-
"""
2247-
a = "foo"
2248-
<<a::binary-size(byte_size(a) - 1)>> <> _ = a
2249-
"fo" = a
2250-
"""
2251-
)
2252-
end
2253-
22542240
defp assert_compile_error(messages, string) do
22552241
captured =
22562242
capture_err(fn ->

0 commit comments

Comments
 (0)