cleanup
authorBen Pfaff <blp@cs.stanford.edu>
Sun, 3 Aug 2025 15:32:48 +0000 (08:32 -0700)
committerBen Pfaff <blp@cs.stanford.edu>
Sun, 3 Aug 2025 15:32:48 +0000 (08:32 -0700)
rust/pspp/src/sys/sack.rs
rust/pspp/src/sys/write.rs

index ab29ee837cc9295646caf0b679d6be59e207a907..b23d0d83ea8bd42d04140912ea1c2b518767ed12 100644 (file)
@@ -577,7 +577,6 @@ mod test {
     use crate::sys::sack::sack;
     use anyhow::Result;
     use binrw::Endian;
-    use hexplay::HexView;
 
     #[test]
     fn basic_sack() -> Result<()> {
@@ -593,8 +592,7 @@ mod test {
 "PSPP synthetic test file: "; i8 244; i8 245; i8 246; i8 248; s34 "";
 i8 0 *3;
 "#;
-        let output = sack(input, None, Endian::Big)?;
-        HexView::new(&output).print()?;
+        sack(input, None, Endian::Big)?;
         Ok(())
     }
 
@@ -678,8 +676,7 @@ DATA:
     s16 "stuvwxyzAB"; s16 "CDEFGHIJKLM";
 DATA_END:
 "#;
-        let output = sack(input, None, Endian::Big)?;
-        HexView::new(&output).print()?;
+        sack(input, None, Endian::Big)?;
         Ok(())
     }
 }
index 193f17769c4f699899fcd5dd0decbeef1c3f1d2e..b2a8da96b5125bb535be7a0cbd2be19967e3d515 100644 (file)
@@ -1317,7 +1317,7 @@ mod tests {
                     .collect(),
             ),
         ];
-        for variables in variables.iter().combinations_with_replacement(4) {
+        for variables in variables.iter().combinations_with_replacement(3) {
             let mut dictionary = Dictionary::new(UTF_8);
             for (index, (width, _)) in variables.iter().enumerate() {
                 dictionary