-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3e34a2f
commit 456c189
Showing
5 changed files
with
33 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -35,6 +35,13 @@ fn graph_query() { | |
"Issue should be related to at least one file" | ||
); | ||
|
||
// Test Issues | ||
let issues = graph.issues(); | ||
assert!( | ||
!issues.is_empty(), | ||
"Issue should not be empty" | ||
); | ||
|
||
// Print results for inspection | ||
println!("File: {}", file_name); | ||
println!("File-related issues: {:?}", issues); | ||
|
@@ -61,7 +68,7 @@ fn graph_ext() { | |
let collector = get_collector(); | ||
let graph = collector.walk(config); | ||
|
||
assert!(graph.authors().is_ok()); | ||
assert!(!graph.authors().is_empty()); | ||
assert!(graph | ||
.author_related_commits(&String::from("williamfzc <[email protected]>")) | ||
.is_ok()); | ||
|