Skip to content

Commit 4ab6c40

Browse files
committed
folders doesn't need a slash
1 parent 4fb9d5f commit 4ab6c40

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

text/0000-erfc-post-build-contexts.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ This section works like this:
169169
```rust
170170
[testing.framework]
171171
name = "bench" # mandatory
172-
folders = ["bench/"]
172+
folders = ["bench"]
173173
lib = true # true by default
174174
single-target = true # false by default
175175
```
@@ -190,7 +190,7 @@ under a new `[[testing.frameworks]]` section in their
190190
[[testing.frameworks]]
191191
provider = { rust-fuzz = "1.0" }
192192
name = "fuzz" # optional, overrides `name` on framework crate
193-
folders = ["fuzz/"] # optional, overrides `folders` on framework crate
193+
folders = ["fuzz"] # optional, overrides `folders` on framework crate
194194
lib = false # optional, overrides `lib` on framework crate
195195
```
196196

@@ -203,17 +203,17 @@ frameworks are defined:
203203
[[testing.frameworks]]
204204
name = "test"
205205
provider = { test = "1.0" }
206-
folders = ["tests/"]
206+
folders = ["tests"]
207207

208208
[[testing.frameworks]]
209209
name = "bench"
210210
provider = { ?? = "1.0" }
211-
folders = ["benches/"]
211+
folders = ["benches"]
212212

213213
[[testing.frameworks]]
214214
name = "example"
215215
provider = { ?? = "1.0" }
216-
folders = ["examples/"]
216+
folders = ["examples"]
217217
```
218218

219219
Whereas having two frameworks of the same name is an error, if you define

0 commit comments

Comments
 (0)