summaryrefslogtreecommitdiff
path: root/tests/src
diff options
context:
space:
mode:
authorEduardo Sánchez Muñoz <eduardosanchezmunoz@gmail.com>2025-03-24 19:16:33 +0100
committerGitHub <noreply@github.com>2025-03-24 18:16:33 +0000
commit38213ed534d8a7cd520c0265b99a345bc2966b39 (patch)
tree248bbfcead3218067e399145be10b2ef3187624e /tests/src
parent636eea18bc1c3fe2acb09e59e67f38a4a0c1b323 (diff)
Use `u64` instead of `usize` to store counter and enumeration item numbers, so behavior does not vary from 64-bit to 32-bit platforms (#6026)
Diffstat (limited to 'tests/src')
-rw-r--r--tests/src/world.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/src/world.rs b/tests/src/world.rs
index 5c267832..9e0e91ad 100644
--- a/tests/src/world.rs
+++ b/tests/src/world.rs
@@ -244,7 +244,7 @@ fn lines(
engine: &mut Engine,
context: Tracked<Context>,
span: Span,
- count: usize,
+ count: u64,
#[default(Numbering::Pattern(NumberingPattern::from_str("A").unwrap()))]
numbering: Numbering,
) -> SourceResult<Value> {