1
0
mirror of https://github.com/sstephenson/bats.git synced 2024-12-26 06:29:47 +01:00

Fix typo in docs

This commit is contained in:
Andrey Mazo 2014-05-20 11:59:30 -04:00
parent 2476770c84
commit 37735a7065
3 changed files with 3 additions and 3 deletions

View File

@ -68,7 +68,7 @@ results. If any test case fails, `bats` exits with a `1` status code.
## Writing tests
Each Bats test file is evaulated n+1 times, where _n_ is the number of
Each Bats test file is evaluated n+1 times, where _n_ is the number of
test cases in the file. The first run counts the number of test cases,
then iterates over the test cases and executes each one in its own
process.

View File

@ -30,7 +30,7 @@ A Bats test file is a Bash script with special syntax for defining test cases\.
.IP "" 0
.
.P
Each Bats test file is evaulated n+1 times, where \fIn\fR is the number of test cases in the file\. The first run counts the number of test cases, then iterates over the test cases and executes each one in its own process\.
Each Bats test file is evaluated n+1 times, where \fIn\fR is the number of test cases in the file\. The first run counts the number of test cases, then iterates over the test cases and executes each one in its own process\.
.
.SH "THE RUN HELPER"
Many Bats tests need to run a command and then make assertions about its exit status and output\. Bats includes a \fBrun\fR helper that invokes its arguments as a command, saves the exit status and output into special global variables, and then returns with a \fB0\fR status code so you can continue to make assertions in your test case\.

View File

@ -22,7 +22,7 @@ description.
}
Each Bats test file is evaulated n+1 times, where _n_ is the number of
Each Bats test file is evaluated n+1 times, where _n_ is the number of
test cases in the file. The first run counts the number of test cases,
then iterates over the test cases and executes each one in its own
process.