File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -729,8 +729,7 @@ mod tests {
729729 action_type : ActionType :: CreateFile {
730730 path : "config.rs" . to_string ( ) ,
731731 } ,
732- // example test fixture: string the oracle should reject as a hardcoded secret
733- content : r#"let password = "supersecretpassword123""# . to_string ( ) ,
732+ content : r#"let password = "supersecretpassword123""# . to_string ( ) , // test fixture
734733 files_affected : vec ! [ "config.rs" . to_string( ) ] ,
735734 llm_confidence : 0.9 ,
736735 } ;
@@ -1049,8 +1048,7 @@ mod tests {
10491048 action_type : ActionType :: CreateFile {
10501049 path : "config.rs" . to_string ( ) ,
10511050 } ,
1052- // example test fixture: string the oracle should reject as a hardcoded API key
1053- content : r#"const API_KEY = "abcdef1234567890abcdef""# . to_string ( ) ,
1051+ content : r#"const API_KEY = "abcdef1234567890abcdef""# . to_string ( ) , // test fixture
10541052 files_affected : vec ! [ "config.rs" . to_string( ) ] ,
10551053 llm_confidence : 0.9 ,
10561054 } ;
You can’t perform that action at this time.
0 commit comments