From 3f16ae203a0176a50feea921166320530814aa73 Mon Sep 17 00:00:00 2001
From: tristan
Date: Tue, 2 Jan 2024 13:16:23 +0000
Subject: [PATCH] fix bulk test
---
testing/md.test.nix | 2 +-
testing/out/index.html | 10 +++++++++-
2 files changed, 10 insertions(+), 2 deletions(-)
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 @@
-markdown file yeee
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/
+markdown file yeee
+
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/
+
+