Skip to content

Commit 8d3fc1b

Browse files
committed
fix1: fixed identation
1 parent 07244fd commit 8d3fc1b

1 file changed

Lines changed: 21 additions & 3 deletions

File tree

lib/calculate.test.ts

Lines changed: 21 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -682,9 +682,27 @@ describe('calculateStreak', () => {
682682
it('verify streak formulas for single day contribution timeline (Variation 1)', () => {
683683
// 1 commit on day 11 (middle of week 2), surrounded by fully empty weeks on both sides
684684
const calendar = buildCalendar([
685-
0, 0, 0, 0, 0, 0, 0, // Week 1: empty
686-
0, 0, 0, 1, 0, 0, 0, // Week 2: single commit on day 4
687-
0, 0, 0, 0, 0, 0, 0, // Week 3: empty
685+
0,
686+
0,
687+
0,
688+
0,
689+
0,
690+
0,
691+
0, // Week 1: empty
692+
0,
693+
0,
694+
0,
695+
1,
696+
0,
697+
0,
698+
0, // Week 2: single commit on day 4
699+
0,
700+
0,
701+
0,
702+
0,
703+
0,
704+
0,
705+
0, // Week 3: empty
688706
]);
689707
const result = calculateStreak(calendar);
690708

0 commit comments

Comments
 (0)