Skip to content

Commit

Permalink
test: reenable mdx for tests
Browse files Browse the repository at this point in the history
  • Loading branch information
c-cube committed Feb 28, 2020
1 parent 5418717 commit e0d80d2
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 10 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ some text +---+
- : unit = ()
```

```ocaml
```ocaml non-deterministic=command
# let b3 = PrintBox.(
let style = Style.(fg_color Red) in
frame @@ grid_l [
Expand All @@ -214,10 +214,10 @@ boxes will not cut it.

The advice below can be replaced by simply using `printbox.unicode` with:

```ocaml
```ocaml non-deterministic=command
# #require "printbox.unicode";;
# PrintBox_unicode.setup();
````
# PrintBox_unicode.setup();;
```

##### The manual way

Expand Down
12 changes: 6 additions & 6 deletions dune
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

;(alias
; (name runtest)
; (deps README.md)
; (action (progn
; (run mdx test %{deps})
; (diff? %{deps} %{deps}.corrected))))
(alias
(name runtest)
(deps README.md)
(action (progn
(run mdx test %{deps})
(diff? %{deps} %{deps}.corrected))))
1 change: 1 addition & 0 deletions printbox.opam
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ depends: [
"ocaml" { >= "4.03" }
"uutf" {with-test}
"uucp" {with-test}
"mdx" {with-test & >= "1.4" & < "1.6" }
]
depopts: [
"tyxml"
Expand Down

0 comments on commit e0d80d2

Please sign in to comment.