pinchflat/test/pinchflat/utils/function_utils_test.exs
2024-05-01 14:24:06 -07:00

11 lines
279 B
Elixir

defmodule Pinchflat.Utils.FunctionUtilsTest do
use ExUnit.Case, async: false
alias Pinchflat.Utils.FunctionUtils
describe "wrap_ok/1" do
test "wraps the provided term in an :ok tuple" do
assert FunctionUtils.wrap_ok("hello") == {:ok, "hello"}
end
end
end