about summary refs log tree commit diff
diff options
context:
space:
mode:
authorYoshito Komatsu <ykomatsu@akaumigame.org>2015-10-11 22:38:44 +0900
committerYoshito Komatsu <ykomatsu@akaumigame.org>2015-10-11 22:38:44 +0900
commit9652fc1d4987656fa3ce7982f820472c37009f74 (patch)
treea450c756b288493b6e461fd90ce030f611964a51
parent9d3e79ad3728f6723f8e49908696e66a68d7db95 (diff)
downloadrust-9652fc1d4987656fa3ce7982f820472c37009f74.tar.gz
rust-9652fc1d4987656fa3ce7982f820472c37009f74.zip
Fix some typos
-rw-r--r--src/doc/trpl/testing.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/doc/trpl/testing.md b/src/doc/trpl/testing.md
index 452dc13c696..b278ea01276 100644
--- a/src/doc/trpl/testing.md
+++ b/src/doc/trpl/testing.md
@@ -82,7 +82,7 @@ fn it_works() {
 ```
 
 `assert!` is a macro provided by Rust which takes one argument: if the argument
-is `true`, nothing happens. If the argument is false, it `panic!`s. Let's run
+is `true`, nothing happens. If the argument is `false`, it `panic!`s. Let's run
 our tests again:
 
 ```bash
@@ -289,7 +289,7 @@ running 0 tests
 test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured
 ```
 
-The `--ignored` argument is an argument to the test binary, and not to cargo,
+The `--ignored` argument is an argument to the test binary, and not to Cargo,
 which is why the command is `cargo test -- --ignored`.
 
 # The `tests` module
@@ -367,7 +367,7 @@ It works!
 The current convention is to use the `tests` module to hold your "unit-style"
 tests. Anything that just tests one small bit of functionality makes sense to
 go here. But what about "integration-style" tests instead? For that, we have
-the `tests` directory
+the `tests` directory.
 
 # The `tests` directory