diff options
| author | Laurenz <laurmaedje@gmail.com> | 2024-09-16 16:41:18 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-09-16 14:41:18 +0000 |
| commit | 16e67f8bea7e6891e954420e2e005976fb48a528 (patch) | |
| tree | b1de8e17f184d10894447a602da1722a71dd23a9 /tests/suite/scripting | |
| parent | db71a178bef7f1525d732a190ac75a1a6d56f24b (diff) | |
Shrink tests (#4967)
Diffstat (limited to 'tests/suite/scripting')
| -rw-r--r-- | tests/suite/scripting/import.typ | 2 | ||||
| -rw-r--r-- | tests/suite/scripting/include.typ | 2 | ||||
| -rw-r--r-- | tests/suite/scripting/modules/chap1.typ | 5 | ||||
| -rw-r--r-- | tests/suite/scripting/modules/chap2.typ | 9 |
4 files changed, 4 insertions, 14 deletions
diff --git a/tests/suite/scripting/import.typ b/tests/suite/scripting/import.typ index 8e2bc4b5..95214db7 100644 --- a/tests/suite/scripting/import.typ +++ b/tests/suite/scripting/import.typ @@ -52,7 +52,7 @@ #import "module.typ": chap2, chap2.name, chap2.chap1, chap2.chap1.name as othername #test(chap2, orig-chap2) #test(chap1, orig-chap1) -#test(name, "Klaus") +#test(name, "Peter") #test(othername, "Klaus") --- import-items-parenthesized --- diff --git a/tests/suite/scripting/include.typ b/tests/suite/scripting/include.typ index e4da6d19..f5c4a5ba 100644 --- a/tests/suite/scripting/include.typ +++ b/tests/suite/scripting/include.typ @@ -3,8 +3,6 @@ --- include-file --- #set page(width: 200pt) -= Document - // Include a file #include "modules/chap1.typ" diff --git a/tests/suite/scripting/modules/chap1.typ b/tests/suite/scripting/modules/chap1.typ index 13d0acf8..c5dc1cf6 100644 --- a/tests/suite/scripting/modules/chap1.typ +++ b/tests/suite/scripting/modules/chap1.typ @@ -2,7 +2,4 @@ #let name = "Klaus" == Chapter 1 -#name stood in a field of wheat. There was nothing of particular interest about -the field #name just casually surveyed for any paths on which the corn would not -totally ruin his semi-new outdorsy jacket but then again, most of us spend -considerable time in non-descript environments. +#name stood in a field of wheat. diff --git a/tests/suite/scripting/modules/chap2.typ b/tests/suite/scripting/modules/chap2.typ index f1a886d6..3649cb58 100644 --- a/tests/suite/scripting/modules/chap2.typ +++ b/tests/suite/scripting/modules/chap2.typ @@ -1,11 +1,6 @@ // SKIP #import "chap1.typ" -#let name = "Klaus" +#let name = "Peter" == Chapter 2 -Their motivations, however, were pretty descript, so to speak. #name had not yet -conceptualized their consequences, but that should change pretty quickly. #name -approached the center of the field and picked up a 4-foot long disk made from -what could only be cow manure. The hair on the back of #name' neck bristled as -he stared at the unusual sight. After studying the object for a while, he -promptly popped the question, "How much?" +#name had not yet conceptualized their consequences. |
