Re: [elixir-core:11253] [proposal] ExUnit: A use case for specifying setup callback as MF(A)

2023-02-05 Thread 'eksperimental' via elixir-lang-core
Hi Nikola Have you tried? `setup(context), do: Module.function_name(context)` Cheers. On Sun, 5 Feb 2023 03:21:12 -0800 (PST) Nikola Begedin wrote: > Hello everyone. 1st time writing here. I scanned through the repo > docs, etc, and I'm not finding a guideline on how to do it. Apologies > if

[elixir-core:11253] [proposal] ExUnit: A use case for specifying setup callback as MF(A)

2023-02-05 Thread Nikola Begedin
Hello everyone. 1st time writing here. I scanned through the repo docs, etc, and I'm not finding a guideline on how to do it. Apologies if I'm making a mistake here. I have a proposal, or at least a question about a potential proposal. You can always import a function from a module and then