From 7f8997fc803a690f89d672ea3da298b4d54772c5 Mon Sep 17 00:00:00 2001 From: edef Date: Fri, 9 Aug 2024 07:06:09 +0000 Subject: test(tvix/nix-compat/nar/wire): cover TOK_PAD_PAR Change-Id: Ib4da612a4144d062f55a22b437c725b8566bee70 Reviewed-on: https://cl.tvl.fyi/c/depot/+/12172 Tested-by: BuildkiteCI Reviewed-by: flokli --- tvix/nix-compat/src/nar/wire/mod.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tvix/nix-compat') 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 { -- cgit 1.4.1