We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4c00ed8 + 33dc77f commit f849113Copy full SHA for f849113
src/markdown_deps.rs
@@ -276,10 +276,11 @@ mod tests {
276
let block = "[dependencies]\n\
277
foobar = 1.5.8";
278
let request = extract_version_request("foobar", block);
279
- assert_eq!(
280
- request.unwrap_err(),
281
- "TOML parse error: expected newline, found a period at line 2"
282
- );
+ // toml 0.5.3 returns "found a period at line 2 column 13.
+ // Update the test when we bump the toml crate dependency.
+ assert!(request
+ .unwrap_err()
283
+ .contains("TOML parse error: expected newline, found a period at line 2"));
284
}
285
286
#[test]
0 commit comments