1
//! Returned lists (plan 0016 VW1) arrive on the wire as lists, not as the
2
//! string of their printed form.
3

            
4
use super::*;
5

            
6
#[tokio::test]
7
1
async fn returned_lists_arrive_as_lists() {
8
1
    assert_values(&[
9
1
        ("(list \"a\" \"b\\\"c\")", "(\"a\" \"b\\\"c\")"),
10
1
        ("(list 1 (list 2 3))", "(1 (2 3))"),
11
1
        ("(list t nil)", "(t nil)"),
12
1
        ("(list 1/2 3/4)", "(1/2 3/4)"),
13
1
        ("(list \"x\" 1)", "(\"x\" 1)"),
14
1
        ("(list)", "nil"),
15
1
    ])
16
1
    .await;
17
1
}