From 0d12f2ab23177642eef2e6bb9c583cdd0c743b33 Mon Sep 17 00:00:00 2001 From: Laurenz Date: Tue, 30 Aug 2022 15:00:18 +0200 Subject: [WIP] Label and reference syntax --- tests/typ/code/import.typ | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'tests/typ/code/import.typ') 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" -- cgit v1.2.3