Skip to content

Commit

Permalink
Consistent 'note' format in readme
Browse files Browse the repository at this point in the history
jasonkarns authored Feb 7, 2019
1 parent 9b566a7 commit 65ead9e
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -132,7 +132,7 @@ install Bats into `/usr/local`,
$ cd bats-core
$ ./install.sh /usr/local

Note that you may need to run `install.sh` with `sudo` if you do not have
__Note:__ You may need to run `install.sh` with `sudo` if you do not have
permission to write to the installation prefix.

### Running Bats in Docker
@@ -249,9 +249,9 @@ command, saves the exit status and output into special global variables, and
then returns with a `0` status code so you can continue to make assertions in
your test case.

> Note that the `run` helper executes its argument(s) in a subshell, so if
> writing tests against environmental side-effects like a variable's value
> being changed, these changes will not persist after `run` completes.
__Note:__ The `run` helper executes its argument(s) in a subshell, so if
writing tests against environmental side-effects like a variable's value
being changed, these changes will not persist after `run` completes.

For example, let's say you're testing that the `foo` command, when passed a
nonexistent filename, exits with a `1` status code and prints an error message.
@@ -337,7 +337,7 @@ Or you can skip conditionally:
}
```

`setup` and `teardown` hooks still run for skipped tests.
__Note:__ `setup` and `teardown` hooks still run for skipped tests.

### `setup` and `teardown`: Pre- and post-test hooks

0 comments on commit 65ead9e

Please sign in to comment.