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 df0d2fd commit 2bf5289Copy full SHA for 2bf5289
git-function-history-lib/src/lib.rs
@@ -553,11 +553,14 @@ mod tests {
553
use super::*;
554
#[test]
555
fn found_function() {
556
+ let now = Utc::now();
557
let output = get_function_history(
558
"empty_test",
559
FileType::Absolute("src/test_functions.rs".to_string()),
560
Filter::None,
561
);
562
+ let after = Utc::now() - now;
563
+ println!("time taken: {}", after.num_seconds());
564
match &output {
565
Ok(functions) => {
566
println!("{}", functions);
@@ -580,7 +583,7 @@ mod tests {
580
583
}
581
584
582
585
- fn not_found_function() {
586
+ fn not_found() {
587
588
"Not_a_function",
589
0 commit comments