about summary refs log tree commit diff
path: root/users/Profpatsch/netencode/netencode.rs
diff options
context:
space:
mode:
authorsterni <sternenseemann@systemli.org>2021-02-06T15·37+0100
committersterni <sternenseemann@systemli.org>2021-02-06T17·52+0000
commit96edc545dead3a6eee35e20000d59151afa06d79 (patch)
tree37a6c3338256fc71ac326ed9f5662ee0e488f9ca /users/Profpatsch/netencode/netencode.rs
parent716bbb70f9f839e148e20afd05c716b8244b0be2 (diff)
fix(users/Profpatsch/netencode-rs-tests): reflect changed T::List type r/2181
a044a870849d03b3a71df17e589112e0c228a06e removed boxes in T::List, but
the tests were not adjusted accordingly.

Seems like netencode fell victim to CI not recursing into attrsets not
generated by readTree in pipeline generation.

Change-Id: I65d58a82881059983f7d6bc7a32263c6671ccbba
Reviewed-on: https://cl.tvl.fyi/c/depot/+/2486
Reviewed-by: Profpatsch <mail@profpatsch.de>
Tested-by: BuildkiteCI
Diffstat (limited to 'users/Profpatsch/netencode/netencode.rs')
-rw-r--r--users/Profpatsch/netencode/netencode.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/users/Profpatsch/netencode/netencode.rs b/users/Profpatsch/netencode/netencode.rs
index f6158ae3e6a0..3e77226358de 100644
--- a/users/Profpatsch/netencode/netencode.rs
+++ b/users/Profpatsch/netencode/netencode.rs
@@ -556,7 +556,7 @@ pub mod parse {
                     ("foo".to_owned(), T::List(vec![
                         T::Sum(Tag { tag: "A".to_owned(), val: Box::new(T::Unit) }),
                         T::Sum(Tag { tag: "A".to_owned(), val: Box::new(T::N1(true)) }),
-                        T::Sum(Tag { tag: "B".to_owned(), val: Box::new(T::List(Box::new(vec![T::I3(127)]))) }),
+                        T::Sum(Tag { tag: "B".to_owned(), val: Box::new(T::List(vec![T::I3(127)])) }),
                     ]))
                 ].into_iter().collect::<HashMap<String, T>>())))
             );