diff --git a/testing/md.test.nix b/testing/md.test.nix index 3e9c624..ca5cc3b 100644 --- a/testing/md.test.nix +++ b/testing/md.test.nix @@ -113,7 +113,7 @@ in }) (it "converts markdown to a page" { - actual = toString (mdToPage ./blog/index.md) + "\n"; + actual = toString (mdToPage ./blog/index.md) + "\n\n"; # inflation expected = builtins.readFile ./out/index.html; asString = true; }) diff --git a/testing/out/index.html b/testing/out/index.html index f3f4d29..612bb48 100644 --- a/testing/out/index.html +++ b/testing/out/index.html @@ -1 +1,9 @@ -
I need some emphasis...
that's bold!
mark the important parts.
but forget the rest.
drink lot's of H 2O if you want!
https://www.markdownguide.org/basic-syntax/
+I need some emphasis... +
that's bold! +
mark the important parts. +
but forget the rest.
+
drink lot's of H 2O if you want! +
+