Skip to content

Commit

Permalink
fix(tests): remove redundant checks
Browse files Browse the repository at this point in the history
  • Loading branch information
HakonHarnes committed Apr 1, 2024
1 parent 87cc430 commit f7a3c99
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions tests/config_spec.lua
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,10 @@ describe("config", function()

assert.is_true(config.get_opt("drag_and_drop.enabled"))
assert.is_false(config.get_opt("drag_and_drop.insert_mode"))
assert.is_false(config.get_opt("drag_and_drop.copy_images"))
assert.is_true(config.get_opt("drag_and_drop.download_images"))

vim.bo.filetype = "markdown"
assert.is_true(config.get_opt("url_encode_path"))
assert.equals("![$CURSOR]($FILE_PATH)", config.get_opt("template"))
assert.is_false(config.get_opt("drag_and_drop.download_images"))
end)

it("should allow overriding default values", function()
Expand Down

0 comments on commit f7a3c99

Please sign in to comment.