Skip to content

Commit d0fc3b6

Browse files
committed
Fix README example code
1 parent b0fc6ef commit d0fc3b6

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ Now that we're ready to start writing tests, we'll have to create the `test.sh`
4242

4343
In the `test.sh` file, you can create functions that start with `"$test_prefix"__test_`, and those will get run when we run our tests.
4444

45-
Following our previous example, if our module was named `Slugify`, the functions that we would want to test would have to start with `Slugify__test_"
45+
Following our previous example, if our module was named `Slugify`, the functions that we would want to test would have to start with `Slugify__test_"`
4646

4747
When writing these functions, if at any point there is a failure you should return 1. When everything succeeds don't return anything.
4848

@@ -68,7 +68,7 @@ Before jumping into this section, I will provide a screenshot that displays what
6868

6969
![Imgur](http://i.imgur.com/6d5HlX8.png)
7070

71-
> All that fancy indentation is handled for you
71+
> All that fancy indentation is handled for you :tada:
7272

7373
### Provide Concise Names for Tests
7474

@@ -93,7 +93,7 @@ Slugify__test_slugify_spaces(){
9393
local result="$(Slugify__slugify "Radical Ricky")"
9494
if [[ "$result" != "radical-ricky" ]]; then
9595
# This line below is our failure description
96-
echo "Slugify__slugify should convert 'Radical Ricky' into 'radical-ricky'
96+
echo "Slugify__slugify should convert 'Radical Ricky' into 'radical-ricky'"
9797
return 1
9898
fi
9999
}
@@ -110,7 +110,7 @@ Slugify__test_slugify_spaces(){
110110
local result="$(Slugify__slugify "Radical Ricky")"
111111
if [[ "$result" != "radical-ricky" ]]; then
112112
# This line below is our failure description
113-
echo "Slugify__slugify should convert 'Radical Ricky' into 'radical-ricky'
113+
echo "Slugify__slugify should convert 'Radical Ricky' into 'radical-ricky'"
114114
# This lines below are our failure details. We can have as many (or as little) of these as we want
115115
echo "Actual Result: '$result'"
116116
echo "Wow, another detail!"

0 commit comments

Comments
 (0)