tests: add a failing rename test
@@ -1082,6 +1082,19 @@ renamed = { version = "versioned-package--CURRENT_VERSION_TEST", optional = true
)
}
+// FIXME: make it work
+// #[test]
+// fn overwrite_differently_renamed() {
+// overwrite_dependency_test(
+// &["add", "a", "--vers", "0.1", "--rename", "a1"],
+// &["add", "a", "--vers", "0.2", "--rename", "a2"],
+// r#"
+// [dependencies]
+// a2 = { version = "0.2", package = "a" }
+// "#,
+// )
+// }
+
#[test]
fn overwrite_git_with_path() {
overwrite_dependency_test(
