File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2525 - name : Cache cargo
2626 uses : Swatinem/rust-cache@v2
2727
28+ - name : Install ripgrep
29+ run : sudo apt-get update && sudo apt-get install -y ripgrep
30+
2831 - name : Format
2932 run : cargo fmt --check
3033
Original file line number Diff line number Diff line change @@ -2885,7 +2885,7 @@ async fn subagent_tool_execution_normalizes_bounded_input_before_delegation() {
28852885 assert ! ( prompt. contains( "允许路径:src/agent.rs" ) ) ;
28862886 assert ! ( prompt. contains( "负责路径:src/tool.rs" ) ) ;
28872887 assert ! ( prompt. contains( "执行边界:timeout_secs=30,max_tool_calls=5" ) ) ;
2888- assert ! ( prompt. contains( "do not recursively delegate " ) ) ;
2888+ assert ! ( prompt. contains( "不要递归委派 " ) ) ;
28892889}
28902890
28912891#[ tokio:: test]
Original file line number Diff line number Diff line change @@ -4746,9 +4746,10 @@ fn slash_permission_without_args_opens_dialog() {
47464746 let dialog = runtime. state ( ) . dialog ( ) . expect ( "dialog should be open" ) ;
47474747 assert_eq ! ( dialog. title, "Permission mode" ) ;
47484748 assert_eq ! ( dialog. selected, 1 ) ;
4749- assert_eq ! ( dialog. items. len( ) , 3 ) ;
4749+ assert_eq ! ( dialog. items. len( ) , 4 ) ;
47504750 assert_eq ! ( dialog. items[ 0 ] . label, "Safe" ) ;
4751- assert_eq ! ( dialog. items[ 2 ] . label, "YOLO" ) ;
4751+ assert_eq ! ( dialog. items[ 2 ] . label, "Auto" ) ;
4752+ assert_eq ! ( dialog. items[ 3 ] . label, "YOLO" ) ;
47524753}
47534754
47544755#[ test]
You can’t perform that action at this time.
0 commit comments