summaryrefslogtreecommitdiff
path: root/tests/typ/compiler
diff options
context:
space:
mode:
Diffstat (limited to 'tests/typ/compiler')
-rw-r--r--tests/typ/compiler/packages.typ5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/typ/compiler/packages.typ b/tests/typ/compiler/packages.typ
index 066a31de..0d3fda58 100644
--- a/tests/typ/compiler/packages.typ
+++ b/tests/typ/compiler/packages.typ
@@ -12,6 +12,11 @@
#test(add(2, 8), 10)
---
+// Test too high required compiler version.
+// Error: 9-29 package requires typst 1.0.0 or newer (current version is VERSION)
+#import "@test/future:0.1.0": future
+
+---
// Error: 9-13 `@` is not a valid package namespace
#import "@@": *