Browse Source

fix: typo and page title

feat/shiki-twoslash-rehype
Patrick Gray 4 years ago
committed by Patrick Gray
parent
commit
7169611889
  1. 2
      src/pages/write-smart-contracts/counter-tutorial.md
  2. 2
      src/pages/write-smart-contracts/testing-contracts.md

2
src/pages/write-smart-contracts/counter-tutorial.md

@ -192,7 +192,7 @@ counter in the console:
(contract-call? .counter increment)
```
The console should return (ok 1). Try calling the `decrement` function to decrement the counter back to 0.
The console should return `(ok 1)`. Try calling the `decrement` function to decrement the counter back to 0.
```clarity
(contract-call? .counter decrement)

2
src/pages/write-smart-contracts/testing-contracts.md

@ -1,5 +1,5 @@
---
title: Testing Clarity code
title: Testing Clarity code with JS and Mocha
description: Learn to Test Clarity Contract Code with JavaScript and Mocha.
experience: advanced
duration: 15 minutes

Loading…
Cancel
Save