Open xxchan opened 1 year ago
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.
UPDATE_EXPECT=1 cargo test
UPDATE_EXPECT=1 cargo test
reports error.