Skip to content

plenary.busted more compact output #73

@Conni2461

Description

@Conni2461

@tami5 s wish :)
For

Fail    ||    depm.use installs and setup filetypes plugins    
            /home/tamibam/repos/depm.nvim/tests/auto/depm_spec.lua:65: should have add a Filetype autocmd.
            Expected objects to be the same.
            Passed in:
            (boolean) false
            Expected:
            (boolean) true

            stack traceback:
                /home/tamibam/repos/depm.nvim/tests/auto/depm_spec.lua:65: in function 'test'
                /home/tamibam/repos/depm.nvim/tests/auto/depm_spec.lua:29: in function </home/tamibam/repos/depm.nvim/tests/auto/depm_spec.lua:24>

To

Fail    ||    depm.use installs and setup filetypes plugin   `/.../auto/depm_spec.lua:65:` 
            Case: should have add a Filetype autocmd.
            Passed in: (boolean) false
            Expected: (boolean) true

            Stack Traceback:
                /home/tamibam/repos/depm.nvim/tests/auto/depm_spec.lua:65: in function 'test'
                /home/tamibam/repos/depm.nvim/tests/auto/depm_spec.lua:29: in function </home/tamibam/repos/depm.nvim/tests/auto/depm_spec.lua:

Changes are:

  • Normalize path an put on the same line.
  • Print case if case is there requires changes in luassert which we bundle so we can do it but i am not so sure if we should do that :)
  • Put the Passed in and Expected output on one line. Requires changes in luassert

Thats a somewhat good issue for newcommers :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions