diff options
| author | Laurenz <laurmaedje@gmail.com> | 2024-04-13 10:39:45 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-04-13 08:39:45 +0000 |
| commit | 020294fca9a7065d4b9cf4e677f606ebaaa29b00 (patch) | |
| tree | c0027ad22046e2726c22298461327823d6b88d53 /tests/typ/compiler/packages.typ | |
| parent | 72dd79210602ecc799726fc096b078afbb47f299 (diff) | |
Better test runner (#3922)
Diffstat (limited to 'tests/typ/compiler/packages.typ')
| -rw-r--r-- | tests/typ/compiler/packages.typ | 69 |
1 files changed, 0 insertions, 69 deletions
diff --git a/tests/typ/compiler/packages.typ b/tests/typ/compiler/packages.typ deleted file mode 100644 index 0d3fda58..00000000 --- a/tests/typ/compiler/packages.typ +++ /dev/null @@ -1,69 +0,0 @@ -// Test package imports -// Ref: false - ---- -// Test import without items. -#import "@test/adder:0.1.0" -#test(adder.add(2, 8), 10) - ---- -// Test import with items. -#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 "@@": * - ---- -// Error: 9-16 package specification is missing name -#import "@heya": * - ---- -// Error: 9-15 `123` is not a valid package namespace -#import "@123": * - ---- -// Error: 9-17 package specification is missing name -#import "@test/": * - ---- -// Error: 9-22 package specification is missing version -#import "@test/mypkg": * - ---- -// Error: 9-20 `$$$` is not a valid package name -#import "@test/$$$": * - ---- -// Error: 9-23 package specification is missing version -#import "@test/mypkg:": * - ---- -// Error: 9-24 version number is missing minor version -#import "@test/mypkg:0": * - ---- -// Error: 9-29 `latest` is not a valid major version -#import "@test/mypkg:latest": * - ---- -// Error: 9-29 `-3` is not a valid major version -#import "@test/mypkg:-3.0.0": * - ---- -// Error: 9-26 version number is missing patch version -#import "@test/mypkg:0.3": * - ---- -// Error: 9-27 version number is missing patch version -#import "@test/mypkg:0.3.": * - ---- -// Error: 9-28 file not found (searched at typ/compiler/#test/mypkg:1.0.0) -#import "#test/mypkg:1.0.0": * |
