Skip to content

Commit 04fcd44

Browse files
sk222swlpil
authored andcommitted
fix broken readme example
1 parent a35f51f commit 04fcd44

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

README.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,14 @@ Gleam bindings to the [bbmustache][bbmustache] templating library.
66

77
```gleam
88
import gleam/bbmustache.{string}
9-
import gleam/expect
9+
import gleeunit/should
1010
1111
pub fn main() {
1212
let assert Ok(template) = bbmustache.compile("Hello, {{name}}!")
1313
14-
let rendered = bbmustache.render(template, [
15-
string("name", "World"),
16-
])
14+
let rendered = bbmustache.render(template, [#("name", string("World"))])
1715
18-
expect.equal(rendered, "Hello, World!")
16+
should.equal(rendered, "Hello, World!")
1917
}
2018
```
2119

0 commit comments

Comments
 (0)