From 81e2f301b12df22618242e71b929395617827392 Mon Sep 17 00:00:00 2001 From: Benedikt Reinartz Date: Sat, 10 Feb 2024 23:53:54 +0100 Subject: [PATCH] Try a different test for funs --- rustler_tests/test/term_test.exs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rustler_tests/test/term_test.exs b/rustler_tests/test/term_test.exs index 3b59d3b9..35bbab9a 100644 --- a/rustler_tests/test/term_test.exs +++ b/rustler_tests/test/term_test.exs @@ -77,7 +77,7 @@ defmodule RustlerTest.TermTest do assert RustlerTest.term_type([]) == :list assert RustlerTest.term_type({:ok, 42}) == :tuple assert RustlerTest.term_type(self()) == :pid - assert RustlerTest.term_type(&Function.identity/1) == :fun + assert RustlerTest.term_type(& &1) == :fun assert RustlerTest.term_type(make_ref()) == :reference end end