Aleksey Kladov
b688d84a4b
minor: add missing test
This test kills the following mutant:
diff --git a/crates/mbe/src/tt_iter.rs b/crates/mbe/src/tt_iter.rs
index 9d2b1da9a..055d9a733 100644
--- a/crates/mbe/src/tt_iter.rs
+++ b/crates/mbe/src/tt_iter.rs
@@ -134,7 +134,7 @@ impl<'a> TtIter<'a> {
self.inner = self.inner.as_slice()[res.len()..].iter();
let res = match res.len() {
1 => Some(res[0].cloned()),
- 0 => None,
+ // 0 => None,
_ => Some(tt::TokenTree::Subtree(tt::Subtree {
delimiter: None,
token_trees: res.into_iter().map(|it| it.cloned()).collect(),
2022-01-03 17:21:43 +03:00
..
2021-12-20 16:50:35 +00:00
2021-12-16 01:56:12 +05:00
2021-12-16 01:56:12 +05:00
2022-01-02 23:14:18 +01:00
2022-01-03 17:21:43 +03:00
2022-01-02 19:03:38 +03:00
2022-01-03 01:34:33 +02:00
2022-01-03 02:03:03 +00:00
2022-01-03 01:34:33 +02:00
2022-01-01 22:20:03 +01:00
2022-01-02 22:23:05 +01:00
2021-12-20 13:45:35 +00:00
2021-12-28 19:17:34 +03:00
2021-12-16 01:56:12 +05:00
2022-01-03 16:27:16 +03:00
2022-01-02 18:50:32 +03:00
2021-12-16 01:56:12 +05:00
2021-12-20 13:45:35 +00:00
2021-12-20 13:45:35 +00:00
2021-12-16 01:56:12 +05:00
2021-12-16 01:56:12 +05:00
2021-12-16 01:56:12 +05:00
2022-01-02 19:10:10 +01:00
2021-12-16 01:56:12 +05:00
2022-01-02 19:05:37 +03:00
2021-12-29 23:48:53 -08:00
2021-12-22 02:25:38 +01:00
2021-12-16 01:56:12 +05:00
2021-12-16 01:56:12 +05:00
2021-12-16 01:56:12 +05:00
2021-12-16 01:56:12 +05:00
2021-12-16 01:56:12 +05:00