Skip to content

Commit

Permalink
fix invalid assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
lukaszsamson committed Jul 6, 2023
1 parent 38f8eea commit daf98d3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/elixir_sense/core/source_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -586,9 +586,9 @@ defmodule ElixirSense.Core.SourceTest do
code = "from u in "

if Version.match?(System.version(), ">= 1.15.0-dev") do
%{candidate: {nil, :in}, npar: 1} = which_func(code)
assert %{candidate: {nil, :in}, npar: 1} = which_func(code)
else
nil == which_func(code)
assert nil == which_func(code)
end
end

Expand Down Expand Up @@ -633,7 +633,7 @@ defmodule ElixirSense.Core.SourceTest do
code = """
from c in Comment,
join: p in Post,
on:
on:
"""

assert %{candidate: {nil, :from}, npar: 1} = which_func(code)
Expand Down

0 comments on commit daf98d3

Please sign in to comment.