diff options
| author | Laurenz <laurmaedje@gmail.com> | 2023-09-04 16:27:53 +0200 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2023-09-04 16:29:57 +0200 |
| commit | 2f672b4e2ebb040896c7a6af5104f72b075565e0 (patch) | |
| tree | 21bc7f1a4b22a898fa1e8c23b09cd08051690a4b /tests/typ/compiler | |
| parent | 68a25f497ec9137fc2965aaeff5a49501ede552e (diff) | |
Allow packages to specify their minimum compiler version
Diffstat (limited to 'tests/typ/compiler')
| -rw-r--r-- | tests/typ/compiler/packages.typ | 5 |
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 "@@": * |
