diff --git a/tests/integration/snapshots/integration__update__update_list_of_specs.snap b/tests/integration/snapshots/integration__update__update_list_of_specs.snap new file mode 100644 index 00000000..6872c1b1 --- /dev/null +++ b/tests/integration/snapshots/integration__update__update_list_of_specs.snap @@ -0,0 +1,33 @@ +--- +source: tests/integration/update.rs +expression: lockfile_content +--- +# This file is automatically @generated by Wally. +# It is not intended for manual editing. +registry = "test" + +[[package]] +name = "diamond-graph/direct-dependency-a" +version = "0.1.1" +dependencies = [["Indirect", "diamond-graph/indirect-dependency-a@0.1.1"]] + +[[package]] +name = "diamond-graph/direct-dependency-b" +version = "0.1.0" +dependencies = [["Indirect", "diamond-graph/indirect-dependency-a@0.2.1"]] + +[[package]] +name = "diamond-graph/indirect-dependency-a" +version = "0.1.1" +dependencies = [] + +[[package]] +name = "diamond-graph/indirect-dependency-a" +version = "0.2.1" +dependencies = [] + +[[package]] +name = "diamond-graph/root" +version = "0.1.0" +dependencies = [["A", "diamond-graph/direct-dependency-a@0.1.1"], ["B", "diamond-graph/direct-dependency-b@0.1.0"]] + diff --git a/tests/integration/update.rs b/tests/integration/update.rs index 11492e05..d7cb13f4 100644 --- a/tests/integration/update.rs +++ b/tests/integration/update.rs @@ -58,6 +58,8 @@ fn update_all_dependencies() { let project = TempProject::new(&source_project).unwrap(); + run_update(&project).unwrap(); + let lockfile = fs::read_to_string(project.path().join("wally.lock")).unwrap(); assert_snapshot!(lockfile); }