Skip to content

Commit 6a21875

Browse files
committed
Some SDC modules have 4 sprints
1 parent ce95c49 commit 6a21875

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/bin/pr-metadata-validator.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,8 @@ fn make_fake_course_schedule(module_name: String) -> CourseSchedule {
163163
sprints.insert(
164164
module_name,
165165
std::iter::repeat_with(|| btreemap![ARBITRARY_REGION => fixed_date])
166-
.take(3)
166+
// 4 is the max number of sprints a module (currently) contains.
167+
.take(4)
167168
.collect(),
168169
);
169170
CourseSchedule {

0 commit comments

Comments
 (0)