You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/dev-lang/elixir/files/elixir-1.11.4-fix-elixir-te...

34 lines
1.1 KiB

From 3e88b1f336f843378790802bd486f6793b7ef872 Mon Sep 17 00:00:00 2001
From: Jan Smutny <js@excello.cz>
Date: Thu, 14 Oct 2021 16:14:55 +0200
Subject: [PATCH] Fix elixir test assertion for erlang >=OTP-24.1
---
lib/elixir/test/elixir/exception_test.exs | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/lib/elixir/test/elixir/exception_test.exs b/lib/elixir/test/elixir/exception_test.exs
index df9d46bbc..ae08d5185 100644
--- a/lib/elixir/test/elixir/exception_test.exs
+++ b/lib/elixir/test/elixir/exception_test.exs
@@ -446,11 +446,12 @@ test "annotates undefined function error with suggestions" do
* min/1
"""
- assert blame_message(:erlang, & &1.gt_cookie()) == """
- function :erlang.gt_cookie/0 is undefined or private. Did you mean one of:
+ assert blame_message(:erlang, & &1.hal()) == """
+ function :erlang.hal/0 is undefined or private. Did you mean one of:
- * get_cookie/0
- * set_cookie/2
+ * halt/0
+ * halt/1
+ * halt/2
"""
end
--
2.31.1