@@ -72,7 +72,7 @@ fn generic_issue(author: &str, repo: &str) -> serde_json::Value {
7272fn circular_groups ( ) {
7373 // A cycle in the groups map.
7474 let config = toml:: toml!(
75- [ groups ]
75+ [ adhoc_groups ]
7676 compiler = [ "other" ]
7777 other = [ "compiler" ]
7878 ) ;
@@ -84,7 +84,7 @@ fn circular_groups() {
8484fn nested_groups ( ) {
8585 // Test choosing a reviewer from group with nested groups.
8686 let config = toml:: toml!(
87- [ groups ]
87+ [ adhoc_groups ]
8888 a = [ "@pnkfelix" ]
8989 b = [ "@nrc" ]
9090 c = [ "a" , "b" ]
@@ -97,7 +97,7 @@ fn nested_groups() {
9797fn candidate_filtered_author_only_candidate ( ) {
9898 // When the author is the only candidate.
9999 let config = toml:: toml!(
100- [ groups ]
100+ [ adhoc_groups ]
101101 compiler = [ "nikomatsakis" ]
102102 ) ;
103103 let issue = generic_issue ( "nikomatsakis" , "rust-lang/rust" ) ;
@@ -108,7 +108,7 @@ fn candidate_filtered_author_only_candidate() {
108108fn candidate_filtered_author ( ) {
109109 // Filter out the author from the candidates.
110110 let config = toml:: toml!(
111- [ groups ]
111+ [ adhoc_groups ]
112112 compiler = [ "user1" , "user2" , "user3" , "group2" ]
113113 group2 = [ "user2" , "user4" ]
114114 ) ;
@@ -126,7 +126,7 @@ fn candidate_filtered_author() {
126126fn candidate_filtered_assignee ( ) {
127127 // Filter out an existing assignee from the candidates.
128128 let config = toml:: toml!(
129- [ groups ]
129+ [ adhoc_groups ]
130130 compiler = [ "user1" , "user2" , "user3" , "user4" ]
131131 ) ;
132132 let mut issue = generic_issue ( "user2" , "rust-lang/rust" ) ;
@@ -145,7 +145,7 @@ fn groups_teams_users() {
145145 team2 = [ "t-user2" ]
146146 ) ;
147147 let config = toml:: toml!(
148- [ groups ]
148+ [ adhoc_groups ]
149149 group1 = [ "user1" , "rust-lang/team2" ]
150150 ) ;
151151 let issue = generic_issue ( "octocat" , "rust-lang/rust" ) ;
@@ -163,7 +163,7 @@ fn group_team_user_precedence() {
163163 // How it handles ambiguity when names overlap.
164164 let teams = toml:: toml!( compiler = [ "t-user1" ] ) ;
165165 let config = toml:: toml!(
166- [ groups ]
166+ [ adhoc_groups ]
167167 compiler = [ "user2" ]
168168 ) ;
169169 let issue = generic_issue ( "octocat" , "rust-lang/rust" ) ;
@@ -188,7 +188,7 @@ fn what_do_slashes_mean() {
188188 // How slashed names are handled.
189189 let teams = toml:: toml!( compiler = [ "t-user1" ] ) ;
190190 let config = toml:: toml!(
191- [ groups ]
191+ [ adhoc_groups ]
192192 compiler = [ "user2" ]
193193 "foo/bar" = [ "foo-user" ]
194194 ) ;
@@ -222,7 +222,7 @@ fn what_do_slashes_mean() {
222222fn invalid_org_doesnt_match ( ) {
223223 let teams = toml:: toml!( compiler = [ "t-user1" ] ) ;
224224 let config = toml:: toml!(
225- [ groups ]
225+ [ adhoc_groups ]
226226 compiler = [ "user2" ]
227227 ) ;
228228 let issue = generic_issue ( "octocat" , "rust-lang/rust" ) ;
0 commit comments