Lines
100 %
Functions
Branches
//! Returned lists (plan 0016 VW1) arrive on the wire as lists, not as the
//! string of their printed form.
use super::*;
#[tokio::test]
async fn returned_lists_arrive_as_lists() {
assert_values(&[
("(list \"a\" \"b\\\"c\")", "(\"a\" \"b\\\"c\")"),
("(list 1 (list 2 3))", "(1 (2 3))"),
("(list t nil)", "(t nil)"),
("(list 1/2 3/4)", "(1/2 3/4)"),
("(list \"x\" 1)", "(\"x\" 1)"),
("(list)", "nil"),
])
.await;
}