You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 29, 2021. It is now read-only.
Addresses sstephenson/bats#240. When outputting a 'pretty' formatted
output stream, the 'skip' message was being processed with a character
class of [^)]. I couldn't find a reason for this to be the case, so
I've swapped it out to check instead of printable characters, spaces
included ([:print:]). Please advise if there is a problem with this
approach.
Tested using Bash 4.3.11(1)-release.
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:
Actual Output:
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
The text was updated successfully, but these errors were encountered: