0
I have added a custom type to my .ackrc and it does just what I want.
--type-set=test:match:/_test\b/
It matches unit test files. Since I don't want to see test usages more often than I do, I also set
--notest
However, when I want to search tests, I try adding --test
to the command line, but I get no results. My hope was that --test
would overwrite --notest
, but they combine to give nothing. The man page confirms that they are ORed together.
Any suggestions for what I'm trying to do?