Skip to content

Commit 6e238ab

Browse files
committed
tests: fix environment variable name
1 parent af97d63 commit 6e238ab

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/devto-nvim/setup_spec.lua

+2-2
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ describe(
2323
local snapshot
2424

2525
before_each(function()
26-
vim.env.devto_API_KEY = "foo"
26+
vim.env.DEVTO_API_KEY = "foo"
2727
_G.package.loaded["devto-nvim"] = nil
2828
devto_nvim = require("devto-nvim")
2929
snapshot = assert:snapshot()
@@ -36,7 +36,7 @@ describe(
3636
it(
3737
"should show a notification when no api key is set",
3838
function()
39-
vim.env.devto_API_KEY = nil
39+
vim.env.DEVTO_API_KEY = nil
4040
stub.new(vim, "notify")
4141
devto_nvim.my_articles()
4242
assert.stub(vim.notify).was.called()

0 commit comments

Comments
 (0)