From 2f672b4e2ebb040896c7a6af5104f72b075565e0 Mon Sep 17 00:00:00 2001 From: Laurenz Date: Mon, 4 Sep 2023 16:27:53 +0200 Subject: Allow packages to specify their minimum compiler version --- tests/typ/compiler/packages.typ | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'tests/typ/compiler') 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 @@ -11,6 +11,11 @@ #import "@test/adder:0.1.0": add #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 "@@": * -- cgit v1.2.3