Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
xxchan opened this issue May 18, 2023 · 0 comments · May be fixed by #38
Open

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

xxchan opened this issue May 18, 2023 · 0 comments · May be fixed by #38

Comments

@xxchan
Copy link

xxchan commented May 18, 2023

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.

@xxchan xxchan linked a pull request May 18, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging a pull request may close this issue.

1 participant