typst/tests/lang/typ/comments.typ
Laurenz cc5f14193c Flip test directory structure 🔃
Move full/lang/library to the top-level as that's more ergonomic to use.
2021-01-16 15:39:25 +01:00

19 lines
271 B
XML

// Test whether line comment acts as spacing.
A// you
B
// Test whether block comment acts as spacing.
C/*
/* */
*/D
// Test in expressions.
[f /*1*/ a: "b" //
, 1]
// Error: 1:7-1:9 unexpected end of block comment
/* */ */
// Unterminated block comment is okay.
/*