Skip to content

Commit

Permalink
Attach test to the pure-html package
Browse files Browse the repository at this point in the history
  • Loading branch information
yawaramin committed Jun 16, 2024
1 parent f5cc559 commit c983241
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 9 deletions.
14 changes: 6 additions & 8 deletions test/dune
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
(test
(name dream_html_test)
(libraries dream_html))
(name pure_html_test)
(package pure-html)
(libraries pure_html)
(action
(diff expected.html got.html)))

(rule
(with-stdout-to
got.html
(run ./dream_html_test.exe)))

(rule
(alias runtest)
(action
(diff expected.html got.html)))
(run ./pure_html_test.exe)))
2 changes: 1 addition & 1 deletion test/dream_html_test.ml → test/pure_html_test.ml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
You should have received a copy of the GNU General Public License along with
dream-html. If not, see <https://www.gnu.org/licenses/>. *)

open Dream_html
open Pure_html

let greet nm =
let open HTML in
Expand Down

0 comments on commit c983241

Please sign in to comment.