From 868a646e95073dcb629a505029e15ad02d223912 Mon Sep 17 00:00:00 2001 From: Daniel Sienkiewicz Date: Thu, 23 Nov 2023 13:51:37 +0100 Subject: [PATCH] Fix incompatibility with Elixir version --- test/xtb_client/connection_test.exs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/xtb_client/connection_test.exs b/test/xtb_client/connection_test.exs index e6196bd..65814a3 100644 --- a/test/xtb_client/connection_test.exs +++ b/test/xtb_client/connection_test.exs @@ -152,7 +152,7 @@ defmodule XtbClient.ConnectionTest do assert is_number(low) assert is_number(close) assert is_number(vol) - assert DateTime.before?(ctm, now) + assert DateTime.compare(ctm, now) == :lt assert is_binary(ctm_string) refute quote_id end