Skip to content

Commit

Permalink
Remove sentence encouraging writing tests on your own. Fixes #2223.
Browse files Browse the repository at this point in the history
  • Loading branch information
carols10cents committed Dec 29, 2021
1 parent 94944f1 commit 04170d1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/ch12-04-testing-the-librarys-functionality.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@ Now that we’ve extracted the logic into *src/lib.rs* and left the argument
collecting and error handling in *src/main.rs*, it’s much easier to write tests
for the core functionality of our code. We can call functions directly with
various arguments and check return values without having to call our binary
from the command line. Feel free to write some tests for the functionality in
the `Config::new` and `run` functions on your own.
from the command line.

In this section, we’ll add the searching logic to the `minigrep` program by
using the Test-driven development (TDD) process. This software development
Expand Down

0 comments on commit 04170d1

Please sign in to comment.