diff options
| author | Laurenz <laurmaedje@gmail.com> | 2023-01-28 18:32:58 +0100 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2023-01-28 18:32:58 +0100 |
| commit | 406de22ee5cd74dc6f67743bad4710415bb50c41 (patch) | |
| tree | 37536600378cd325956201ea175469bc22db2b1a /tests | |
| parent | 2d56e3c5e245bf8824bf0ea8f1f1a05cb9716dc5 (diff) | |
Remove method call syntax kind
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/ref/compiler/highlight.png | bin | 0 -> 137139 bytes | |||
| -rw-r--r-- | tests/ref/math/syntax.png | bin | 54038 -> 54023 bytes | |||
| -rw-r--r-- | tests/typ/compiler/highlight.typ | 63 | ||||
| -rw-r--r-- | tests/typ/math/matrix.typ | 2 |
4 files changed, 64 insertions, 1 deletions
diff --git a/tests/ref/compiler/highlight.png b/tests/ref/compiler/highlight.png Binary files differnew file mode 100644 index 00000000..317a2128 --- /dev/null +++ b/tests/ref/compiler/highlight.png diff --git a/tests/ref/math/syntax.png b/tests/ref/math/syntax.png Binary files differindex 0b738511..ce83f9f2 100644 --- a/tests/ref/math/syntax.png +++ b/tests/ref/math/syntax.png diff --git a/tests/typ/compiler/highlight.typ b/tests/typ/compiler/highlight.typ new file mode 100644 index 00000000..6c6ec802 --- /dev/null +++ b/tests/typ/compiler/highlight.typ @@ -0,0 +1,63 @@ +#set page(width: auto) + +```typ +#set hello() +#set hello() +#set hello.world() +#set hello.my.world() + +#show heading: func +#show module.func: func +#show module.func: it => {} +#foo(ident: ident) + +#hello +#hello() +#hello.world +#hello.world() +#hello().world() +#hello.my.world +#hello.my.world() +#hello.my().world +#hello.my().world() + +$ hello $ +$ hello() $ +$ hello.world $ +$ hello.world() $ +$ hello().world() $ +$ hello.my.world $ +$ hello.my.world() $ +$ hello.my().world $ +$ hello.my().world() $ + +$ emph(hello) $ +$ emph(hello()) $ +$ emph(hello.world) $ +$ emph(hello.world()) $ +$ emph(hello().world()) $ +$ emph(hello.my.world) $ +$ emph(hello.my.world()) $ +$ emph(hello.my().world) $ +$ emph(hello.my().world()) $ + +$ #hello $ +$ #hello() $ +$ #hello.world $ +$ #hello.world() $ +$ #hello().world() $ +$ #hello.my.world $ +$ #hello.my.world() $ +$ #hello.my().world $ +$ #hello.my().world() $ + +#{ hello } +#{ hello() } +#{ hello.world } +#{ hello.world() } +#{ hello().world() } +#{ hello.my.world } +#{ hello.my.world() } +#{ hello.my().world } +#{ hello.my().world() } +``` diff --git a/tests/typ/math/matrix.typ b/tests/typ/math/matrix.typ index aa99bb1b..3f65a683 100644 --- a/tests/typ/math/matrix.typ +++ b/tests/typ/math/matrix.typ @@ -23,5 +23,5 @@ $ f(x, y) := cases( #set math.vec(delim: "%") --- -// Error: 9-12 missing argument: lower index +// Error: 8-13 missing argument: lower index $ binom(x^2) $ |
