summaryrefslogtreecommitdiff
path: root/tests/typ
diff options
context:
space:
mode:
authorlolstork <137357423+lolstork@users.noreply.github.com>2023-07-19 12:52:47 +0200
committerGitHub <noreply@github.com>2023-07-19 12:52:47 +0200
commitb37c1e27314ed9b9341dd82c1bbc8238121c7578 (patch)
treecb8d9d4d179fdbcdbc94b3104d068cd21bf24074 /tests/typ
parent8a57395ee48ecee02c2eb833d232979730f0e445 (diff)
Add infrastructure for compiler warnings (#1731)
Diffstat (limited to 'tests/typ')
-rw-r--r--tests/typ/lint/markup.typ13
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/typ/lint/markup.typ b/tests/typ/lint/markup.typ
new file mode 100644
index 00000000..1cb44658
--- /dev/null
+++ b/tests/typ/lint/markup.typ
@@ -0,0 +1,13 @@
+/// Test markup lints.
+// Ref: false
+
+---
+// Warning: 1-3 no text within stars
+// Hint: 1-3 using multiple consecutive stars (e.g. **) has no additional effect
+**
+---
+// Warning: 1-3 no text within stars
+// Hint: 1-3 using multiple consecutive stars (e.g. **) has no additional effect
+// Warning: 11-13 no text within stars
+// Hint: 11-13 using multiple consecutive stars (e.g. **) has no additional effect
+**not bold**