diff options
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/Cargo.toml | 8 | ||||
| -rw-r--r-- | tests/ref/meta/numbering.png | bin | 48098 -> 48040 bytes | |||
| -rw-r--r-- | tests/typ/compute/data.typ | 2 | ||||
| -rw-r--r-- | tests/typ/meta/numbering.typ | 2 |
4 files changed, 6 insertions, 6 deletions
diff --git a/tests/Cargo.toml b/tests/Cargo.toml index 0a371d94..efacea19 100644 --- a/tests/Cargo.toml +++ b/tests/Cargo.toml @@ -9,17 +9,17 @@ publish = false [dev-dependencies] typst = { path = "../crates/typst" } typst-library = { path = "../crates/typst-library" } +clap = { version = "4.4", features = ["derive"] } comemo = "0.3" ecow = { version = "0.1.2", features = ["serde"] } -iai = { git = "https://github.com/reknih/iai" } +iai = { git = "https://github.com/typst/iai" } once_cell = "1" -oxipng = { git = "https://github.com/laurmaedje/oxipng", rev = "b8ec65b", default-features = false, features = ["filetime", "parallel", "zopfli"] } +oxipng = { git = "https://github.com/typst/oxipng", rev = "b8ec65b", default-features = false, features = ["filetime", "parallel", "zopfli"] } rayon = "1.7.0" tiny-skia = "0.9.0" -ttf-parser = "0.18.1" +ttf-parser = "0.19.2" unscanny = "0.1" walkdir = "2" -clap = { version = "4.2.4", features = ["derive"] } [[test]] name = "tests" diff --git a/tests/ref/meta/numbering.png b/tests/ref/meta/numbering.png Binary files differindex ff521e25..72e9be1b 100644 --- a/tests/ref/meta/numbering.png +++ b/tests/ref/meta/numbering.png diff --git a/tests/typ/compute/data.typ b/tests/typ/compute/data.typ index a8c79da1..c0a6ce50 100644 --- a/tests/typ/compute/data.typ +++ b/tests/typ/compute/data.typ @@ -98,7 +98,7 @@ #test(data.at("1"), "ok") --- -// Error: 7-24 failed to parse YAML (while parsing a flow sequence, expected ',' or ']' at line 2 column 1) +// Error: 7-24 failed to parse YAML (did not find expected ',' or ']' at line 2 column 1, while parsing a flow sequence at line 1 column 18) #yaml("/files/bad.yaml") --- diff --git a/tests/typ/meta/numbering.typ b/tests/typ/meta/numbering.typ index 9bb3c5d9..445290c5 100644 --- a/tests/typ/meta/numbering.typ +++ b/tests/typ/meta/numbering.typ @@ -33,7 +33,7 @@ --- #set text(lang: "zh", font: ("Linux Libertine", "Noto Serif CJK SC")) -#for i in range(9,21, step: 2){ +#for i in range(9, 21, step: 2){ numbering("一", i) [ and ] numbering("壹", i) |
