Skip to content

Couldn't find closing delimiter for [[]] #37

@xxchan

Description

@xxchan
fn check(a: i32, expect: expect_test::Expect) {
    expect.assert_eq(&a.to_string());
}

#[test]
fn test1() {
    check(1, expect_test::expect![[]]);
}

UPDATE_EXPECT=1 cargo test reports error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions