Skip to content

Commit b9a5449

Browse files
committed
fix travis issues with line length
1 parent 1785b1f commit b9a5449

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

exercises/bowling/bowling_test.py

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,8 @@ def test_consecutive_stikes_each_get_the_two_roll_bonus(self):
104104
self.assertEqual(score, 81)
105105

106106
def test_strike_in_last_frame_gets_two_roll_bonus_counted_once(self):
107-
rolls = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10, 7, 1]
107+
rolls = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
108+
10, 7, 1]
108109

109110
self.game = BowlingGame()
110111

@@ -115,7 +116,8 @@ def test_strike_in_last_frame_gets_two_roll_bonus_counted_once(self):
115116
self.assertEqual(score, 18)
116117

117118
def test_rolling_spare_with_bonus_roll_does_not_get_bonus(self):
118-
rolls = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10, 7, 3]
119+
rolls = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
120+
0, 10, 7, 3]
119121

120122
self.game = BowlingGame()
121123

@@ -126,7 +128,8 @@ def test_rolling_spare_with_bonus_roll_does_not_get_bonus(self):
126128
self.assertEqual(score, 20)
127129

128130
def test_strikes_with_the_two_bonus_rolls_do_not_get_bonus_rolls(self):
129-
rolls = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10, 10, 10]
131+
rolls = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10,
132+
10, 10]
130133

131134
self.game = BowlingGame()
132135

@@ -137,7 +140,8 @@ def test_strikes_with_the_two_bonus_rolls_do_not_get_bonus_rolls(self):
137140
self.assertEqual(score, 30)
138141

139142
def test_strike_with_bonus_after_spare_in_last_frame_gets_no_bonus(self):
140-
rolls = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 7, 3, 10]
143+
rolls = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 7,
144+
3, 10]
141145

142146
self.game = BowlingGame()
143147

0 commit comments

Comments
 (0)