From e716d133fe68111bd5a8408b7fe9c46ae8f533d8 Mon Sep 17 00:00:00 2001 From: Quinn Wilton Date: Thu, 3 Feb 2022 12:35:17 -0800 Subject: [PATCH] Un-import Kernel.then/2 from benchmarks that require Apply.then/2 --- bench/witchcraft/apply/function_bench.exs | 2 ++ bench/witchcraft/apply/list_bench.exs | 2 ++ bench/witchcraft/apply/tuple_bench.exs | 2 ++ 3 files changed, 6 insertions(+) diff --git a/bench/witchcraft/apply/function_bench.exs b/bench/witchcraft/apply/function_bench.exs index 84cbdbf..648be92 100644 --- a/bench/witchcraft/apply/function_bench.exs +++ b/bench/witchcraft/apply/function_bench.exs @@ -1,6 +1,8 @@ defmodule Witchcraft.Apply.FunBench do @moduledoc false + import Kernel, except: [then: 2] + use Benchfella use Witchcraft.Apply diff --git a/bench/witchcraft/apply/list_bench.exs b/bench/witchcraft/apply/list_bench.exs index 6d9b16e..40bc2ad 100644 --- a/bench/witchcraft/apply/list_bench.exs +++ b/bench/witchcraft/apply/list_bench.exs @@ -1,6 +1,8 @@ defmodule Witchcraft.Apply.ListBench do @moduledoc false + import Kernel, except: [then: 2] + use Benchfella use Witchcraft.Apply diff --git a/bench/witchcraft/apply/tuple_bench.exs b/bench/witchcraft/apply/tuple_bench.exs index dace9d0..13a60c6 100644 --- a/bench/witchcraft/apply/tuple_bench.exs +++ b/bench/witchcraft/apply/tuple_bench.exs @@ -1,6 +1,8 @@ defmodule Witchcraft.Apply.TupleBench do @moduledoc false + import Kernel, except: [then: 2] + use Benchfella use Witchcraft.Apply