about summary refs log tree commit diff
path: root/tvix/nix-compat
diff options
context:
space:
mode:
authoredef <edef@edef.eu>2024-04-26T02·39+0000
committeredef <edef@edef.eu>2024-04-26T08·22+0000
commitb2dc135d92abcb27c5a93eec08242dd27c168d78 (patch)
tree6365c29d7c28c9b41bf553ce1e88ad4e3b88e21e /tvix/nix-compat
parenta39894c158a84cf0bc1068e3eb5b71309b4adbff (diff)
refactor(nix-compat/wire/bytes/reader): drop random whitespace r/8015
Change-Id: Ic683eab435576acc8f7e03f5684767ffa468851a
Reviewed-on: https://cl.tvl.fyi/c/depot/+/11521
Tested-by: BuildkiteCI
Reviewed-by: flokli <flokli@flokli.de>
Diffstat (limited to 'tvix/nix-compat')
-rw-r--r--tvix/nix-compat/src/wire/bytes/reader/mod.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/tvix/nix-compat/src/wire/bytes/reader/mod.rs b/tvix/nix-compat/src/wire/bytes/reader/mod.rs
index 3bc8fcf688c4..78615faf0f4c 100644
--- a/tvix/nix-compat/src/wire/bytes/reader/mod.rs
+++ b/tvix/nix-compat/src/wire/bytes/reader/mod.rs
@@ -241,7 +241,7 @@ mod tests {
     #[case::empty(&[])] // empty bytes packet
     #[case::size_1b(&[0xff])] // 1 bytes payload
     #[case::size_8b(&hex!("0001020304050607"))] // 8 bytes payload (no padding)
-    #[case::size_9b( &hex!("000102030405060708"))] // 9 bytes payload (7 bytes padding)
+    #[case::size_9b(&hex!("000102030405060708"))] // 9 bytes payload (7 bytes padding)
     #[case::size_1m(LARGE_PAYLOAD.as_slice())] // larger bytes packet
     #[tokio::test]
     async fn read_payload_correct(#[case] payload: &[u8]) {
@@ -262,7 +262,7 @@ mod tests {
     #[case::empty(&[])] // empty bytes packet
     #[case::size_1b(&[0xff])] // 1 bytes payload
     #[case::size_8b(&hex!("0001020304050607"))] // 8 bytes payload (no padding)
-    #[case::size_9b( &hex!("000102030405060708"))] // 9 bytes payload (7 bytes padding)
+    #[case::size_9b(&hex!("000102030405060708"))] // 9 bytes payload (7 bytes padding)
     #[case::size_1m(LARGE_PAYLOAD.as_slice())] // larger bytes packet
     #[tokio::test]
     async fn read_payload_correct_known(#[case] payload: &[u8]) {