Skip to content

whitespace before directive? #28

@isaacs

Description

@isaacs

Can I get a ruling on this?

TAP version 13
# this should be a skip test, obviously
ok 1 - description # skip

# no whitespace after #, is this skipped?
ok 2 - description #skip

# no whitespace before #, is this skipped?
ok 3 - description# skip

# no whitespace anywhere, is this skipped?
ok 4 - description#skip

# no description, whitespace after
ok 5 # skip

# no description, no whitespace after
ok 6 #skip

1..6

If we already effectively require (or wish to require) whitespace surrounding the # character, then we can specify the directive parsing much more simply, because there's no way it could ever be escaped with \.

ping @mblayman @exodist @Leont @kinow

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions