Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion en/11/08.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ Yes, right now our logic is pretty straightforward, but this might not always be

- second, we also have to check if Bob is allowed to run `transferFrom`.

Moreover, in the future, you might want to add other functionalities that would require different tests. We believe it is best to put a scaleable structure in place from the very beginning😉. It makes understanding your code much easier for outsiders, or for yourself if you've spent time concentrating on something else for a little while.
Moreover, in the future, you might want to add other functionalities that would require different tests. We believe it is best to put a scalable structure in place from the very beginning😉. It makes understanding your code much easier for outsiders, or for yourself if you've spent time concentrating on something else for a little while.

>Note: If you end up in a position where you're working with other coders, you'll find they're more likely to follow whichever conventions you've laid down in your initial code. Being able to collaborate effectively is one of the key skills you'll need if you ever want to work on big, successful projects. Getting good habits that help you do this as early on as possible will make your life as a coder easier and more successful.

Expand Down
4 changes: 2 additions & 2 deletions en/11/13.md
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ Enough talking. Let's put `Chai`'s powers to some good use!

1. Import `expect` into our project.

2. Continuing the above example with `zombieName`, we can use `expect` to test for a succesfull transaction as follows:
2. Continuing the above example with `zombieName`, we can use `expect` to test for a successful transaction as follows:

```javascript
expect(result.receipt.status).to.equal(true);
Expand All @@ -260,4 +260,4 @@ And we can check if Alice owns a zombie like this:
expect(zombieOwner).to.equal(alice);
```

1. Replace all occurences of `assert.equal` with `expect`. We've left a bunch of comments in the code to make them easy to find.
1. Replace all occurrences of `assert.equal` with `expect`. We've left a bunch of comments in the code to make them easy to find.