summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2023-05-17 14:41:46 +0200
committerLaurenz <laurmaedje@gmail.com>2023-05-17 14:41:46 +0200
commit551ea99d05166b0be50792f767ddd38b996e32fa (patch)
treeec5e86a087e79e8c181c7d4b904216a775227e2d /tests
parent46aace78ac4ac1c075b9b1670dbb7372df1a0a82 (diff)
Show default values in documentation
Fixes #169 Fixes #1102
Diffstat (limited to 'tests')
-rw-r--r--tests/src/tests.rs3
-rw-r--r--tests/typ/compiler/for.typ2
2 files changed, 2 insertions, 3 deletions
diff --git a/tests/src/tests.rs b/tests/src/tests.rs
index 2a0b74ea..f295869f 100644
--- a/tests/src/tests.rs
+++ b/tests/src/tests.rs
@@ -15,8 +15,7 @@ use comemo::{Prehashed, Track};
use elsa::FrozenVec;
use once_cell::unsync::OnceCell;
use oxipng::{InFile, Options, OutFile};
-use rayon::iter::ParallelBridge;
-use rayon::iter::ParallelIterator;
+use rayon::iter::{ParallelBridge, ParallelIterator};
use tiny_skia as sk;
use unscanny::Scanner;
use walkdir::WalkDir;
diff --git a/tests/typ/compiler/for.typ b/tests/typ/compiler/for.typ
index f525215f..72aaea20 100644
--- a/tests/typ/compiler/for.typ
+++ b/tests/typ/compiler/for.typ
@@ -8,7 +8,7 @@
#for x in () [Nope]
// Dictionary is traversed in insertion order.
-// Should output `Age: 2. Name: Typst.`.
+// Should output `Name: Typst. Age: 2.`.
#for (k, v) in (Name: "Typst", Age: 2) [
#k: #v.
]