minimistjs / minimist

parse argument options
MIT License
530 stars 30 forks source link

Duplicate tests #8

Closed nhz-io closed 1 year ago

nhz-io commented 1 year ago

https://github.com/minimistjs/minimist/blob/980d7ac61a0b4bd552711251ac107d506b23e41f/test/dash.js#L22-L23

ljharb commented 1 year ago

This seems intentionally added in b465514, although i can't imagine why both would be needed.

shadowspawn commented 1 year ago

I suspect a copy-paste with another idea in mind, that didn't get turned into a different test.

We could test [ '-ca', '--', 'b' ] and check end option in option group plays by same rules?

Edit: or just delete duplicate.