summaryrefslogtreecommitdiff
path: root/tests/span-tests
diff options
context:
space:
mode:
authorMartin Fischer <martin@push-f.com>2021-11-30 18:10:53 +0100
committerMartin Fischer <martin@push-f.com>2021-12-05 02:52:36 +0100
commitc29558e8d165df1d3fc1cb32079da9e40f957dc6 (patch)
tree57708a17596e021aadef0ccd3e5d9de1e7008aa8 /tests/span-tests
parentcb8c8b260dc95317b16efddd921e7de2cae57245 (diff)
spans: add span tests
Diffstat (limited to 'tests/span-tests')
-rw-r--r--tests/span-tests/demo.html1
-rw-r--r--tests/span-tests/demo.out7
2 files changed, 8 insertions, 0 deletions
diff --git a/tests/span-tests/demo.html b/tests/span-tests/demo.html
new file mode 100644
index 0000000..900f74c
--- /dev/null
+++ b/tests/span-tests/demo.html
@@ -0,0 +1 @@
+this is a tag: <h1>test</h1>
diff --git a/tests/span-tests/demo.out b/tests/span-tests/demo.out
new file mode 100644
index 0000000..98d6766
--- /dev/null
+++ b/tests/span-tests/demo.out
@@ -0,0 +1,7 @@
+note:
+ ┌─ test.html:1:17
+ │
+1 │ this is a tag: <h1>test</h1>
+ │ ^^ ^^ end tag
+ │ │
+ │ start tag