Skip to content

Commit d6bf190

Browse files
authored
Merge pull request goldbergyoni#58 from Userbit/Userbit-patch-3
Correct typo in 1.6 Section
2 parents 3013364 + 9ae73cc commit d6bf190

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -389,7 +389,7 @@ it("When a valid product is about to be deleted, ensure an email is sent", async
389389

390390
```javascript
391391
const addProduct = (name, price) =>{
392-
const productNameRegexNoSpace = /^\S*$/;//no white-space allowd
392+
const productNameRegexNoSpace = /^\S*$/; //no white-space allowed
393393

394394
if(!productNameRegexNoSpace.test(name))
395395
return false;//this path never reached due to dull input

0 commit comments

Comments
 (0)