cranpose-liquid 0.9.40

Glass controls, themes and motion for Cranpose apps
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
use super::*;

#[test]
fn a_row_draws_no_separator_until_one_is_asked_for() {
    assert!(
        !LiquidListRowSpec::default().separator,
        "the last row of a section must not draw a trailing hairline"
    );
    assert!(LiquidListRowSpec::default().with_separator(true).separator);
    assert!(
        !LiquidListRowSpec::default()
            .with_separator(true)
            .with_separator(false)
            .separator,
        "the latest answer is the one that holds"
    );
}