@@ -48,8 +48,8 @@ datatest_stable::harness! {
48
48
of:
49
49
50
50
* ` fn(&Path) -> datatest_stable::Result<()> `
51
- * ` fn(&Utf8Path) -> datatest_stable::Result<()> ` (` Utf8Path ` is part of the
52
- [ ` camino ` ] ( https://docs.rs/camino ) library, and is re-exported here for convenience.)
51
+ * ` fn(&Utf8Path) -> datatest_stable::Result<()> ` ([ ` Utf8Path ` ] ( https://docs.rs/camino/1.1.9/camino/struct.Utf8Path.html ) is part of the
52
+ [ ` camino ` ] ( https://docs.rs/camino/1.1.9/camino/index.html ) library, and is re-exported here for convenience.)
53
53
* ` fn(&P, String) -> datatest_stable::Result<()> ` where ` P ` is ` Path ` or ` Utf8Path ` . If the
54
54
extra ` String ` parameter is specified, the contents of the file will be loaded and passed in
55
55
as a string (erroring out if that failed).
@@ -61,14 +61,14 @@ datatest_stable::harness! {
61
61
the crate’s ` Cargo.toml ` is located). Absolute paths are not supported, and
62
62
will panic at runtime.
63
63
64
- ` root ` is an arbitrary expression that implements ` Display ` , such as ` &str ` , or a
65
- function call that returns a ` Utf8PathBuf ` .
64
+ ` root ` is an arbitrary expression that implements
65
+ [ ` Display ` ] ( https://doc.rust-lang.org/nightly/core/fmt/trait.Display.html ) , such as ` &str ` , or a function call that
66
+ returns a [ ` Utf8PathBuf ` ] ( https://docs.rs/camino/1.1.9/camino/struct.Utf8PathBuf.html ) .
66
67
67
68
* ` pattern ` - a regex used to match against and select each file to be tested. Extended regexes
68
- with lookaround and backtracking are supported via the
69
- [ ` fancy_regex ` ] ( https://docs.rs/fancy-regex ) crate.
69
+ with lookaround and backtracking are supported via the [ ` fancy_regex ` ] ( https://docs.rs/fancy-regex/0.14.0/fancy_regex/index.html ) crate.
70
70
71
- ` pattern ` is an arbitrary expression that implements ` Display ` , such as
71
+ ` pattern ` is an arbitrary expression that implements [ ` Display ` ] ( https://doc.rust-lang.org/nightly/core/fmt/trait.Display.html ) , such as
72
72
` &str ` , or a function call that returns a ` String ` .
73
73
74
74
The three parameters can be repeated if you have multiple sets of data-driven tests to be run:
0 commit comments