diff options
author | sterni <sternenseemann@systemli.org> | 2021-02-06T15·37+0100 |
---|---|---|
committer | sterni <sternenseemann@systemli.org> | 2021-02-06T17·52+0000 |
commit | 96edc545dead3a6eee35e20000d59151afa06d79 (patch) | |
tree | 37a6c3338256fc71ac326ed9f5662ee0e488f9ca /users/Profpatsch | |
parent | 716bbb70f9f839e148e20afd05c716b8244b0be2 (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')
-rw-r--r-- | users/Profpatsch/netencode/netencode.rs | 2 |
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>>()))) ); |