From c9832418d2216079bf796354e0c1eec97c5007cf Mon Sep 17 00:00:00 2001 From: Yawar Amin Date: Sun, 16 Jun 2024 17:45:10 -0400 Subject: [PATCH] Attach test to the pure-html package --- test/dune | 14 ++++++-------- test/{dream_html_test.ml => pure_html_test.ml} | 2 +- 2 files changed, 7 insertions(+), 9 deletions(-) rename test/{dream_html_test.ml => pure_html_test.ml} (99%) diff --git a/test/dune b/test/dune index 4b90513..caf5c78 100644 --- a/test/dune +++ b/test/dune @@ -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))) diff --git a/test/dream_html_test.ml b/test/pure_html_test.ml similarity index 99% rename from test/dream_html_test.ml rename to test/pure_html_test.ml index 707b1fd..4d45e76 100644 --- a/test/dream_html_test.ml +++ b/test/pure_html_test.ml @@ -15,7 +15,7 @@ You should have received a copy of the GNU General Public License along with dream-html. If not, see . *) -open Dream_html +open Pure_html let greet nm = let open HTML in