Skip to content

Commit

Permalink
Clean up version check
Browse files Browse the repository at this point in the history
  • Loading branch information
TylerWitt committed Jan 13, 2025
1 parent 27ad0dc commit 6650422
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/postgrex_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ defmodule PostgrexTest do
end

# This test fails due to a bug betweem Elixir and Erlang in earlier versions of Elixir.
if Version.match?(Version.parse!(System.version()), Version.parse_requirement!(">= 1.17.2")) do
if Version.match?(System.version(), ">= 1.17.2") do
test "start_link/2 detects invalid search path" do
# invalid argument
Process.flag(:trap_exit, true)
Expand Down

0 comments on commit 6650422

Please sign in to comment.