File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -110,7 +110,7 @@ fn test_cli_parse_report_missing_id() {
110110#[ test]
111111fn test_handle_history_invalid_db ( ) {
112112 use code_guardian_cli:: command_handlers:: handle_history;
113- let invalid_db = PathBuf :: from ( "/invalid/path /db.db" ) ;
113+ let invalid_db = PathBuf :: from ( "nonexistent /db.db" ) ;
114114 let result = handle_history ( Some ( invalid_db) ) ;
115115 assert ! ( result. is_err( ) ) ;
116116}
@@ -119,7 +119,7 @@ fn test_handle_history_invalid_db() {
119119#[ test]
120120fn test_handle_benchmark_invalid_path ( ) {
121121 use code_guardian_cli:: command_handlers:: handle_benchmark;
122- let invalid_path = PathBuf :: from ( "/ invalid/path" ) ;
122+ let invalid_path = PathBuf :: from ( "invalid/path" ) ;
123123 let result = handle_benchmark ( Some ( invalid_path) , false ) ;
124124 assert ! ( result. is_err( ) ) ;
125125}
You can’t perform that action at this time.
0 commit comments