diff options
author | Jay Doane <jaydoane@apache.org> | 2021-07-10 11:40:05 -0700 |
---|---|---|
committer | Jay Doane <jay.s.doane@gmail.com> | 2021-07-12 08:16:21 -0700 |
commit | 74b223ffb0c9627071b057b0c27eb8f0171658c5 (patch) | |
tree | 86e6a4dd7da3578c1a4380dc3cdb5b6deae38320 | |
parent | a15a93ac4db36c586100b84e13ed1ebc3c2bcf08 (diff) | |
download | couchdb-74b223ffb0c9627071b057b0c27eb8f0171658c5.tar.gz |
Fix __MODULE__ compiler variable warning
Fixes:
```
warning: unknown compiler variable "___MODULE__" (expected one of __MODULE__, __ENV__, __DIR__, __CALLER__, __STACKTRACE__)
src/couchdb/test/elixir/lib/step/start.ex:62: Couch.Test.Setup.Step.Start.teardown/2
```
-rw-r--r-- | test/elixir/lib/step/start.ex | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/elixir/lib/step/start.ex b/test/elixir/lib/step/start.ex index ea7c70f5a..d966b6a24 100644 --- a/test/elixir/lib/step/start.ex +++ b/test/elixir/lib/step/start.ex @@ -59,7 +59,7 @@ defmodule Couch.Test.Setup.Step.Start do } end - def teardown(_setup, %___MODULE__{test_ctx: test_ctx}) do + def teardown(_setup, %__MODULE__{test_ctx: test_ctx}) do :test_util.stop_couch(test_ctx) end |