Skip to content

Figure out why this assert wasn't failing #124

@arduano

Description

@arduano
    assert_eq!(
        eval_ok("{a = 1; b = 2;} // {a = 3; c = 1;"),
        Value::AttrSet(HashMap::from([
            ("a".to_owned(), Value::Int(3)),
            ("b".to_owned(), Value::Int(2)),
            ("c".to_owned(), Value::Int(1)),
        ]))
    );

(missing a closing curly brace)

Maybe a mistake with parsing code?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions