Skip to content

Commit

Permalink
documentation update
Browse files Browse the repository at this point in the history
  • Loading branch information
gedaiu committed Mar 20, 2018
1 parent a7d59f4 commit f9efd54
Showing 1 changed file with 19 additions and 18 deletions.
37 changes: 19 additions & 18 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,26 +16,27 @@ Unfortunately the [assert expression](https://dlang.org/spec/expression.html#Ass

2. Import it:

in dub.json
```json
...
"configurations": [
in `dub.json`:
```json
...
{
"name": "unittest",
"dependencies": {
"fluent-asserts": "~>0.9.0",
...
}
},
"configurations": [
...
{
"name": "unittest",
"dependencies": {
"fluent-asserts": "~>0.9.0",
...
}
},
...
]
...
]
...
```

```D
version(unittest) import fluent.asserts;
```
```

in your source files:
```D
version(unittest) import fluent.asserts;
```

3. Use it:
```D
Expand Down

0 comments on commit f9efd54

Please sign in to comment.