projects
/
pspp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
323f2ae
)
improve test
author
Ben Pfaff
<blp@cs.stanford.edu>
Sat, 2 Aug 2025 18:51:11 +0000
(11:51 -0700)
committer
Ben Pfaff
<blp@cs.stanford.edu>
Sat, 2 Aug 2025 18:51:11 +0000
(11:51 -0700)
rust/pspp/src/sys/test.rs
patch
|
blob
|
history
rust/pspp/src/sys/testdata/write-string-simple.expected
patch
|
blob
|
history
rust/pspp/src/sys/testdata/write-string-uncompressed.expected
patch
|
blob
|
history
rust/pspp/src/sys/testdata/write-string-zlib.expected
patch
|
blob
|
history
diff --git
a/rust/pspp/src/sys/test.rs
b/rust/pspp/src/sys/test.rs
index 027ef35c11b19b3996f68286826f1f17ca529072..e59526b8b7e440ea357aeabcfb29a7d316d5bed0 100644
(file)
--- a/
rust/pspp/src/sys/test.rs
+++ b/
rust/pspp/src/sys/test.rs
@@
-701,8
+701,8
@@
fn write_long_string_value_labels() {
.write_writer(&dictionary, Cursor::new(Vec::new()))
.unwrap();
for case in [
- ["1", "1", "1", "
2
"],
- ["1", "1", "
2
", "30"],
+ ["1", "1", "1", "
xyzzyquux
"],
+ ["1", "1", "
z
", "30"],
["1", "2", "1", "8"],
["1", "2", "2", "20"],
["2", "1", "1", "2"],
diff --git
a/rust/pspp/src/sys/testdata/write-string-simple.expected
b/rust/pspp/src/sys/testdata/write-string-simple.expected
index 3eeb7cb056c143141af37d819e4720e10071db60..fcfe2d649d3989eb68c5e4bd88fe92d75aad4b11 100644
(file)
--- a/
rust/pspp/src/sys/testdata/write-string-simple.expected
+++ b/
rust/pspp/src/sys/testdata/write-string-simple.expected
@@
-36,8
+36,8
@@
╭────┬─────────┬─────────┬─────────┬─────────╮
│Case│ s1 │ s2 │ s3 │ s4 │
├────┼─────────┼─────────┼─────────┼─────────┤
-│1 │1 │1 │1 │
2
│
-│2 │1 │1 │
2
│30 │
+│1 │1 │1 │1 │
xyzzyquux
│
+│2 │1 │1 │
z
│30 │
│3 │1 │2 │1 │8 │
│4 │1 │2 │2 │20 │
│5 │2 │1 │1 │2 │
diff --git
a/rust/pspp/src/sys/testdata/write-string-uncompressed.expected
b/rust/pspp/src/sys/testdata/write-string-uncompressed.expected
index 9c773dc975a3b7db3a698fc5c79d2cc8e135e051..05b5b980a91f133a801d62e6f8f85e2fc8995122 100644
(file)
--- a/
rust/pspp/src/sys/testdata/write-string-uncompressed.expected
+++ b/
rust/pspp/src/sys/testdata/write-string-uncompressed.expected
@@
-36,8
+36,8
@@
╭────┬─────────┬─────────┬─────────┬─────────╮
│Case│ s1 │ s2 │ s3 │ s4 │
├────┼─────────┼─────────┼─────────┼─────────┤
-│1 │1 │1 │1 │
2
│
-│2 │1 │1 │
2
│30 │
+│1 │1 │1 │1 │
xyzzyquux
│
+│2 │1 │1 │
z
│30 │
│3 │1 │2 │1 │8 │
│4 │1 │2 │2 │20 │
│5 │2 │1 │1 │2 │
diff --git
a/rust/pspp/src/sys/testdata/write-string-zlib.expected
b/rust/pspp/src/sys/testdata/write-string-zlib.expected
index 6812e1aa48f46b63a4869428f49db6c9354d3f05..abaa473863e8e53589790eb6d70ecb71caaac809 100644
(file)
--- a/
rust/pspp/src/sys/testdata/write-string-zlib.expected
+++ b/
rust/pspp/src/sys/testdata/write-string-zlib.expected
@@
-36,8
+36,8
@@
╭────┬─────────┬─────────┬─────────┬─────────╮
│Case│ s1 │ s2 │ s3 │ s4 │
├────┼─────────┼─────────┼─────────┼─────────┤
-│1 │1 │1 │1 │
2
│
-│2 │1 │1 │
2
│30 │
+│1 │1 │1 │1 │
xyzzyquux
│
+│2 │1 │1 │
z
│30 │
│3 │1 │2 │1 │8 │
│4 │1 │2 │2 │20 │
│5 │2 │1 │1 │2 │