@@ -72,7 +72,7 @@ fn generic_issue(author: &str, repo: &str) -> serde_json::Value {
72
72
fn circular_groups ( ) {
73
73
// A cycle in the groups map.
74
74
let config = toml:: toml!(
75
- [ groups ]
75
+ [ adhoc_groups ]
76
76
compiler = [ "other" ]
77
77
other = [ "compiler" ]
78
78
) ;
@@ -84,7 +84,7 @@ fn circular_groups() {
84
84
fn nested_groups ( ) {
85
85
// Test choosing a reviewer from group with nested groups.
86
86
let config = toml:: toml!(
87
- [ groups ]
87
+ [ adhoc_groups ]
88
88
a = [ "@pnkfelix" ]
89
89
b = [ "@nrc" ]
90
90
c = [ "a" , "b" ]
@@ -97,7 +97,7 @@ fn nested_groups() {
97
97
fn candidate_filtered_author_only_candidate ( ) {
98
98
// When the author is the only candidate.
99
99
let config = toml:: toml!(
100
- [ groups ]
100
+ [ adhoc_groups ]
101
101
compiler = [ "nikomatsakis" ]
102
102
) ;
103
103
let issue = generic_issue ( "nikomatsakis" , "rust-lang/rust" ) ;
@@ -108,7 +108,7 @@ fn candidate_filtered_author_only_candidate() {
108
108
fn candidate_filtered_author ( ) {
109
109
// Filter out the author from the candidates.
110
110
let config = toml:: toml!(
111
- [ groups ]
111
+ [ adhoc_groups ]
112
112
compiler = [ "user1" , "user2" , "user3" , "group2" ]
113
113
group2 = [ "user2" , "user4" ]
114
114
) ;
@@ -126,7 +126,7 @@ fn candidate_filtered_author() {
126
126
fn candidate_filtered_assignee ( ) {
127
127
// Filter out an existing assignee from the candidates.
128
128
let config = toml:: toml!(
129
- [ groups ]
129
+ [ adhoc_groups ]
130
130
compiler = [ "user1" , "user2" , "user3" , "user4" ]
131
131
) ;
132
132
let mut issue = generic_issue ( "user2" , "rust-lang/rust" ) ;
@@ -145,7 +145,7 @@ fn groups_teams_users() {
145
145
team2 = [ "t-user2" ]
146
146
) ;
147
147
let config = toml:: toml!(
148
- [ groups ]
148
+ [ adhoc_groups ]
149
149
group1 = [ "user1" , "rust-lang/team2" ]
150
150
) ;
151
151
let issue = generic_issue ( "octocat" , "rust-lang/rust" ) ;
@@ -163,7 +163,7 @@ fn group_team_user_precedence() {
163
163
// How it handles ambiguity when names overlap.
164
164
let teams = toml:: toml!( compiler = [ "t-user1" ] ) ;
165
165
let config = toml:: toml!(
166
- [ groups ]
166
+ [ adhoc_groups ]
167
167
compiler = [ "user2" ]
168
168
) ;
169
169
let issue = generic_issue ( "octocat" , "rust-lang/rust" ) ;
@@ -188,7 +188,7 @@ fn what_do_slashes_mean() {
188
188
// How slashed names are handled.
189
189
let teams = toml:: toml!( compiler = [ "t-user1" ] ) ;
190
190
let config = toml:: toml!(
191
- [ groups ]
191
+ [ adhoc_groups ]
192
192
compiler = [ "user2" ]
193
193
"foo/bar" = [ "foo-user" ]
194
194
) ;
@@ -222,7 +222,7 @@ fn what_do_slashes_mean() {
222
222
fn invalid_org_doesnt_match ( ) {
223
223
let teams = toml:: toml!( compiler = [ "t-user1" ] ) ;
224
224
let config = toml:: toml!(
225
- [ groups ]
225
+ [ adhoc_groups ]
226
226
compiler = [ "user2" ]
227
227
) ;
228
228
let issue = generic_issue ( "octocat" , "rust-lang/rust" ) ;
0 commit comments