Skip to content

Commit

Permalink
Include one missing file-name in src/ch11-01-writing-tests.md Listing
Browse files Browse the repository at this point in the history
  • Loading branch information
chriskrycho authored Jun 12, 2024
1 parent 533ea47 commit ab03ebc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ch11-01-writing-tests.md
Original file line number Diff line number Diff line change
Expand Up @@ -459,7 +459,7 @@ consider the modified code for `Guess` in Listing 11-9 where the `new` function
panics with different messages depending on whether the value is too small or
too large.

<Listing number="11-9" caption="Testing for a `panic!` with a panic message containing a specified substring">
<Listing number="11-9" file-name="src/lib.rs" caption="Testing for a `panic!` with a panic message containing a specified substring">

```rust,noplayground
{{#rustdoc_include ../listings/ch11-writing-automated-tests/listing-11-09/src/lib.rs:here}}
Expand Down

0 comments on commit ab03ebc

Please sign in to comment.