about summary refs log tree commit diff
path: root/tvix/nix-compat/src
diff options
context:
space:
mode:
authoredef <edef@edef.eu>2024-08-09T07·06+0000
committeredef <edef@edef.eu>2024-08-09T15·28+0000
commit7f8997fc803a690f89d672ea3da298b4d54772c5 (patch)
tree5d649667746c68658f68c7dbf009bdfbe60d6b83 /tvix/nix-compat/src
parente505880fdefff8db854dd5e5d442b2750361181e (diff)
test(tvix/nix-compat/nar/wire): cover TOK_PAD_PAR r/8468
Change-Id: Ib4da612a4144d062f55a22b437c725b8566bee70
Reviewed-on: https://cl.tvl.fyi/c/depot/+/12172
Tested-by: BuildkiteCI
Reviewed-by: flokli <flokli@flokli.de>
Diffstat (limited to 'tvix/nix-compat/src')
-rw-r--r--tvix/nix-compat/src/nar/wire/mod.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/tvix/nix-compat/src/nar/wire/mod.rs b/tvix/nix-compat/src/nar/wire/mod.rs
index 01fe9c836f75..ddf021bc1fa1 100644
--- a/tvix/nix-compat/src/nar/wire/mod.rs
+++ b/tvix/nix-compat/src/nar/wire/mod.rs
@@ -119,6 +119,8 @@ fn tokens() {
         (&TOK_ENT, &["entry", "(", "name"]),
         (&TOK_NOD, &["node", "(", "type"]),
         (&TOK_PAR, &[")"]),
+        #[cfg(feature = "async")]
+        (&TOK_PAD_PAR, &["", ")"]),
     ];
 
     for &(tok, xs) in cases {