Skip to content

Commit 3af10d2

Browse files
authored
Merge pull request #19710 from github/redsun82/rust-fix-crate-graph-test
Rust: fix crate graph test
2 parents 79a8942 + 6f25d7e commit 3af10d2

File tree

3 files changed

+87
-2
lines changed

3 files changed

+87
-2
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
!/Cargo.lock

rust/ql/test/extractor-tests/crate_graph/Cargo.lock

Lines changed: 84 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

rust/ql/test/extractor-tests/crate_graph/crates.expected

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
#-----| core -> Crate(core@0.0.0)
1919
#-----| compiler_builtins -> Crate(compiler_builtins@0.1.140)
2020

21-
#-----| Crate(cfg_if@1.0.0)
21+
#-----| Crate(cfg_if@1.0.1)
2222
#-----| proc_macro -> Crate(proc_macro@0.0.0)
2323
#-----| alloc -> Crate(alloc@0.0.0)
2424
#-----| core -> Crate(core@0.0.0)
@@ -89,7 +89,7 @@ main.rs:
8989
#-----| core -> Crate(core@0.0.0)
9090
#-----| std -> Crate(std@0.0.0)
9191
#-----| test -> Crate(test@0.0.0)
92-
#-----| cfg_if -> Crate(cfg_if@1.0.0)
92+
#-----| cfg_if -> Crate(cfg_if@1.0.1)
9393
#-----| digest -> Crate(digest@0.10.7)
9494

9595
#-----| Crate(md5@0.7.0)

0 commit comments

Comments
 (0)