From 551ea99d05166b0be50792f767ddd38b996e32fa Mon Sep 17 00:00:00 2001 From: Laurenz Date: Wed, 17 May 2023 14:41:46 +0200 Subject: Show default values in documentation Fixes #169 Fixes #1102 --- tests/src/tests.rs | 3 +-- tests/typ/compiler/for.typ | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) (limited to 'tests') 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. ] -- cgit v1.2.3