Mercurial > piecrust2
view tests/cli/test_find.yaml @ 516:73bd408caebc
internal: Return `None` instead of raising an exception when finding pages.
This makes the `posts` source behave like the other ones.
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Mon, 27 Jul 2015 00:47:55 -0700 |
parents | 95b77239c3b7 |
children | 9ccc933ac2c7 |
line wrap: on
line source
--- args: find out: '' --- args: find replace_out_path_sep: true in: pages/foo.md: '' out: | pages/foo.md --- args: find replace_out_path_sep: true in: pages/foo.md: '' posts/2015-01-10_blah.md: '' out: | pages/foo.md posts/2015-01-10_blah.md --- args: find foo replace_out_path_sep: true in: pages/foo.md: '' pages/bar.md: '' pages/foo/child.md: '' pages/something.md: '' out: | pages/foo.md pages/foo/child.md --- args: find --exact *foo.md replace_out_path_sep: true in: pages/foo.md: '' pages/bar.md: '' pages/foo/child.md: '' pages/something.md: '' out: | pages/foo.md