icy-arctic-fox / spectator

Feature-rich testing framework for Crystal inspired by RSpec.
https://gitlab.com/arctic-fox/spectator
MIT License
101 stars 4 forks source link

Runner filter -e tests equality instead of inclusion #45

Closed spuun closed 2 years ago

spuun commented 2 years ago

I believe this is a bug.

https://github.com/icy-arctic-fox/spectator/blob/60085eb7263442c8f7870dd32276c3bab81c4d27/src/spectator/name_node_filter.cr#L11-L13

it should be @name.includes?(node.to_s)?