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([email protected])
1919
#-----| compiler_builtins -> Crate([email protected])
2020

21-
#-----| Crate([email protected].0)
21+
#-----| Crate([email protected].1)
2222
#-----| proc_macro -> Crate([email protected])
2323
#-----| alloc -> Crate([email protected])
2424
#-----| core -> Crate([email protected])
@@ -89,7 +89,7 @@ main.rs:
8989
#-----| core -> Crate([email protected])
9090
#-----| std -> Crate([email protected])
9191
#-----| test -> Crate([email protected])
92-
#-----| cfg_if -> Crate([email protected].0)
92+
#-----| cfg_if -> Crate([email protected].1)
9393
#-----| digest -> Crate([email protected])
9494

9595
#-----| Crate([email protected])

0 commit comments

Comments
 (0)