Skip to content
This repository was archived by the owner on Apr 29, 2021. It is now read-only.
This repository was archived by the owner on Apr 29, 2021. It is now read-only.

skip cuts comment after closing bracket #240

@and0x000

Description

@and0x000

If I use a regular bracket in the comment of the "skip" command, everything after that bracket is dropped.

Example:
setup(){ skip "foo)bar" }
@test "skip this" { echo 'asdf' }

Expected Output:

  • skip this (skipped: foo)bar)

Actual Output:

  • skip this (skipped: foo)

Does not matter if I use single or double quotes for the comment.

Tested with bats from debian repo:
https://packages.debian.org/stretch/bats

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions