Skip to content

Commit

Permalink
Deleted testing code by mistake and forgot snap
Browse files Browse the repository at this point in the history
They say to run your tests before push..
This is why.
  • Loading branch information
u-train committed Jun 12, 2023
1 parent a702584 commit f437589
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -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/[email protected]"]]

[[package]]
name = "diamond-graph/direct-dependency-b"
version = "0.1.0"
dependencies = [["Indirect", "diamond-graph/[email protected]"]]

[[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/[email protected]"], ["B", "diamond-graph/[email protected]"]]

2 changes: 2 additions & 0 deletions tests/integration/update.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit f437589

Please sign in to comment.