You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I wrote a unit test for error message testing path & error message
My original unit test assert looks like
assert_eq!(
invalid_record.validate().unwrap_err().into_inner()[0],(Path::new("content_fingerprints").join("0"),Error::new("value is not a trimmed string"),),);
And I got error
But actually the assert should be like
assert_eq!(
invalid_record.validate().unwrap_err().into_inner()[0],(Path::new("content_fingerprints").join(0),Error::new("value is not a trimmed string"),),);
The text was updated successfully, but these errors were encountered:
I wrote a unit test for error message testing path & error message
My original unit test assert looks like
And I got error
But actually the assert should be like
The text was updated successfully, but these errors were encountered: