diff options
| author | Laurenz <laurmaedje@gmail.com> | 2022-08-30 15:00:18 +0200 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2022-09-07 11:07:17 +0200 |
| commit | 0d12f2ab23177642eef2e6bb9c583cdd0c743b33 (patch) | |
| tree | 03a88594081dcf360d0d880167feb1debca970e6 /tests/typ/code/import.typ | |
| parent | 0cb876ebf9138c1ee3b3c87165952a73569ffb28 (diff) | |
[WIP] Label and reference syntax
Diffstat (limited to 'tests/typ/code/import.typ')
| -rw-r--r-- | tests/typ/code/import.typ | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/tests/typ/code/import.typ b/tests/typ/code/import.typ index aef5e9c4..2c27f135 100644 --- a/tests/typ/code/import.typ +++ b/tests/typ/code/import.typ @@ -30,7 +30,7 @@ // Who needs whitespace anyways? #import*from"target.typ" -// Should output `Hi`. +// Should output `bye`. // Stop at semicolon. #import a, c from "target.typ";bye @@ -93,25 +93,21 @@ This is never reached. // Error: 17-18 expected expression, found comma #import a, b, c,, from "target.typ" -// Should output `"target.typ"`. // Error: 1-6 unexpected keyword `from` #from "target.typ" -// Should output `target`. // Error: 2:2 expected semicolon or line break #import * from "target.typ "target -// Should output `@ 0.2.1`. // Error: 28 expected semicolon or line break -#import * from "target.typ" @ 0.2.1 +#import * from "target.typ" ยง 0.2.1 // A star in the list. // Error: 12-13 expected expression, found star #import a, *, b from "target.typ" // An item after a star. -// Should output `, a from "target.typ"`. // Error: 10 expected keyword `from` #import *, a from "target.typ" |
