From f8ad48978b1ab3b73839a363b26ac4166cb4fde2 Mon Sep 17 00:00:00 2001 From: Marcel Otto Date: Fri, 8 Apr 2022 12:37:49 +0200 Subject: [PATCH] Fix version match --- lib/rdf/serialization/reader.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/rdf/serialization/reader.ex b/lib/rdf/serialization/reader.ex index e3e4cdf..0beec1d 100644 --- a/lib/rdf/serialization/reader.ex +++ b/lib/rdf/serialization/reader.ex @@ -10,7 +10,7 @@ defmodule RDF.Serialization.Reader do alias RDF.{Serialization, Dataset, Graph} @default_file_mode ~w[read utf8]a - @io_read_mode if Version.match?(System.version(), "~> 1.13.0"), do: :eof, else: :all + @io_read_mode if Version.match?(System.version(), ">= 1.13.0"), do: :eof, else: :all @spec read_string(module, String.t(), keyword) :: {:ok, Graph.t() | Dataset.t()} | {:error, any} def read_string(decoder, content, opts \\ []) do