watchexec/lib/tests
Félix Saparelli 72100217e8 Allow */foo filters to match foo (compat)
This is buggy behaviour that exists in <=1.17, and this patch restores it*

Per gitignore rules, this glob:

    */somefile

Will match:

    foo/somefile
    bar/somefile

But not:

    somefile

However, so far we’ve accepted this. As this is a breaking change, this patch
introduces a hack which lets us accept this behaviour, but clearly marks it as
a compatibility exception. In 2.0, this will be gone.

Fixes #258

* It only restores it on unices, because the behaviour cannot be restored in
  any reasonable manner on Windows. Ah well. It's not for long anyway.
2022-03-07 20:33:29 +13:00
..
ignores Test filter files 2021-12-24 02:21:45 +13:00
env_reporting.rs Deduplicate paths in summarise_events_to_env 2022-01-31 02:14:28 +13:00
error_handler.rs Change on_error to let the handler raise a CriticalError 2022-02-07 17:15:27 +13:00
filter_globset.rs Allow */foo filters to match foo (compat) 2022-03-07 20:33:29 +13:00
filter_ignorefiles.rs Add tests for ignore filterer 2022-01-15 23:46:41 +13:00
filter_tagged_filterfiles.rs Test filter files 2021-12-24 02:21:45 +13:00
filter_tagged_nonpaths.rs Express process end exceptions as hex in filters 2021-12-23 00:32:56 +13:00
filter_tagged_parser.rs Move TaggedFiltererError into main error mod 2022-01-16 19:14:31 +13:00
filter_tagged_paths.rs Start testing parser and nonpaths 2021-12-15 07:24:13 +13:00
helpers.rs Hook up new globset signature 2022-01-16 16:09:53 +13:00