nvim-lua/plenary.nvim

`vim.deep_equal` does not report error in tests

OscarCreator opened this issue · 0 comments

in rotate_spec.lua eq is set to vim.deep_equal but that does not fail the test's even if it's wrong.
This example should fail the test but does not:

it("should rotate none", function()
    -- clearly not  empty \/
    eq({ rotate() }, { 10, 134, 144})
end)

It seems it's only rotate_spec.lua which is using this command for equality checking, but could be more assert functions which does not fail tests.