//! Tests auto-converted from "sass-spec/spec/non_conformant/basic/51_trailing_commas_in_list.hrx"

#[allow(unused)]
fn runner() -> crate::TestRunner {
    super::runner().with_cwd("51_trailing_commas_in_list")
}

#[test]
fn test() {
    assert_eq!(
        runner().ok("$mylist: (alpha, beta, gamma, );\
             \n$my-single-item-list: (alpha,);\
             \n.test { \
             \n  out1: length($mylist);\
             \n  blah: type-of(nth($mylist,3));\
             \n  out: length($my-single-item-list); \
             \n}"),
        ".test {\
         \n  out1: 3;\
         \n  blah: string;\
         \n  out: 1;\
         \n}\n"
    );
}
