Something went wrong. Try again.
Library of 45+ independent Lua modules improving Neovim experience with minimal effort nvim-mini.org/mini.nvim
Something went wrong. Try again.
1234567891011121314151617181920212223242526272829local new_set = MiniTest.new_set
local T = new_set()
--stylua: ignore startT['first group'] = new_set()T['first group']['pass'] = function() endT['first group']['pass with notes'] = function() MiniTest.add_note('Passed note') endT['first group']['fail'] = function() error('Custom error', 0) endT['first group']['fail with notes'] = function() MiniTest.add_note('Failed note') error('Custom error after note', 0)end
T['second group'] = new_set()T['second group']['pass'] = function() endT['second group']['pass with notes'] = function() MiniTest.add_note('Passed note #2') endT['second group']['fail'] = function() error('Custom error #2', 0) endT['second group']['fail with notes'] = function() MiniTest.add_note('Failed note #2') error('Custom error after note #2', 0)end
T['third group with \n in name'] = new_set()T['third group with \n in name']['case with \n in name'] = function() MiniTest.add_note('Passed note #3') end--stylua: ignore end
return T