projects
/
pspp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bfe45ed
)
fix warning
author
Ben Pfaff
<blp@cs.stanford.edu>
Sun, 13 Apr 2025 16:09:30 +0000
(09:09 -0700)
committer
Ben Pfaff
<blp@cs.stanford.edu>
Sun, 13 Apr 2025 16:09:30 +0000
(09:09 -0700)
rust/pspp/src/lex/segment/test.rs
patch
|
blob
|
history
diff --git
a/rust/pspp/src/lex/segment/test.rs
b/rust/pspp/src/lex/segment/test.rs
index be13cdd0745e7467a56d73cf7984c2810ba25676..a384e5c4ae2592ed5205f38b14d7c7d0cc05ccd0 100644
(file)
--- a/
rust/pspp/src/lex/segment/test.rs
+++ b/
rust/pspp/src/lex/segment/test.rs
@@
-1390,7
+1390,7
@@
fn test_do_repeat_overflow() {
(Segment::Newline, "\n"),
];
for (i, line) in do_repeat.iter().enumerate().take(N).skip(1) {
- expect_output.push((Segment::DoRepeatCommand,
do_repeat[i]
.trim_end()));
+ expect_output.push((Segment::DoRepeatCommand,
line
.trim_end()));
if i >= 255 {
expect_output.push((Segment::DoRepeatOverflow, ""));
}