@@ -55,7 +55,7 @@ fn search_add_returns_action() {
5555 text: "task" . into( ) ,
5656 priority: 0 ,
5757 tags: vec![ ] ,
58- refs : Vec :: new( ) ,
58+ entity_refs : Vec :: new( ) ,
5959 }
6060 ) ;
6161 assert_eq ! ( results[ 0 ] . label, "Add todo task" ) ;
@@ -75,7 +75,7 @@ fn search_add_with_priority_and_tags() {
7575 text: "task" . into( ) ,
7676 priority: 3 ,
7777 tags: vec![ "a" . into( ) , "b" . into( ) ] ,
78- refs : Vec :: new( ) ,
78+ entity_refs : Vec :: new( ) ,
7979 }
8080 ) ;
8181 assert_eq ! ( results[ 0 ] . label, "Add todo task Tag: a, b; priority: 3" ) ;
@@ -95,7 +95,7 @@ fn search_add_with_at_tags() {
9595 text: "task" . into( ) ,
9696 priority: 0 ,
9797 tags: vec![ "a" . into( ) , "b" . into( ) ] ,
98- refs : Vec :: new( ) ,
98+ entity_refs : Vec :: new( ) ,
9999 }
100100 ) ;
101101 assert_eq ! ( results[ 0 ] . label, "Add todo task Tag: a, b" ) ;
@@ -435,15 +435,15 @@ fn dialog_filtered_indices_negation() {
435435 done: false ,
436436 priority: 0 ,
437437 tags: vec![ "work" . into( ) ] ,
438- refs : Vec :: new( ) ,
438+ entity_refs : Vec :: new( ) ,
439439 } ,
440440 TodoEntry {
441441 id: String :: new( ) ,
442442 text: "beta" . into( ) ,
443443 done: false ,
444444 priority: 0 ,
445445 tags: vec![ ] ,
446- refs : Vec :: new( ) ,
446+ entity_refs : Vec :: new( ) ,
447447 } ,
448448 ] ;
449449 let idx = TodoDialog :: filtered_indices ( & entries, "!#work" ) ;
0 commit comments