We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 13a59e8 commit d60b028Copy full SHA for d60b028
git-function-history-lib/src/lib.rs
@@ -622,4 +622,25 @@ mod tests {
622
println!("The current directory is {}", path.display());
623
assert!(output.is_ok());
624
}
625
+
626
+ #[test]
627
+ fn expensive_tes() {
628
+ let now = Utc::now();
629
+ let output = get_function_history(
630
+ "empty_test",
631
+ FileType::None,
632
+ Filter::None
633
+ );
634
+ let after = Utc::now() - now;
635
+ println!("time taken: {}", after.num_seconds());
636
+ match &output {
637
+ Ok(functions) => {
638
+ println!("{}", functions);
639
+ }
640
+ Err(e) => println!("{}", e),
641
642
+ let path = std::env::current_dir().unwrap();
643
+ println!("The current directory is {}", path.display());
644
+ assert!(output.is_ok());
645
646
0 commit comments