@@ -12,7 +12,7 @@ test "verse-single verse-first generic verse" {
12
12
\\And if one green bottle should accidentally fall,
13
13
\\There'll be nine green bottles hanging on the wall.
14
14
;
15
- const actual = bottle_song .recite (& buffer , 10 , 1 );
15
+ const actual = try bottle_song .recite (& buffer , 10 , 1 );
16
16
try testing .expectEqualStrings (expected , actual );
17
17
}
18
18
@@ -25,7 +25,7 @@ test "verse-single verse-last generic verse" {
25
25
\\And if one green bottle should accidentally fall,
26
26
\\There'll be two green bottles hanging on the wall.
27
27
;
28
- const actual = bottle_song .recite (& buffer , 3 , 1 );
28
+ const actual = try bottle_song .recite (& buffer , 3 , 1 );
29
29
try testing .expectEqualStrings (expected , actual );
30
30
}
31
31
@@ -38,7 +38,7 @@ test "verse-single verse-verse with 2 bottles" {
38
38
\\And if one green bottle should accidentally fall,
39
39
\\There'll be one green bottle hanging on the wall.
40
40
;
41
- const actual = bottle_song .recite (& buffer , 2 , 1 );
41
+ const actual = try bottle_song .recite (& buffer , 2 , 1 );
42
42
try testing .expectEqualStrings (expected , actual );
43
43
}
44
44
@@ -51,7 +51,7 @@ test "verse-single verse-verse with 1 bottle" {
51
51
\\And if one green bottle should accidentally fall,
52
52
\\There'll be no green bottles hanging on the wall.
53
53
;
54
- const actual = bottle_song .recite (& buffer , 1 , 1 );
54
+ const actual = try bottle_song .recite (& buffer , 1 , 1 );
55
55
try testing .expectEqualStrings (expected , actual );
56
56
}
57
57
@@ -69,7 +69,7 @@ test "lyrics-multiple verses-first two verses" {
69
69
\\And if one green bottle should accidentally fall,
70
70
\\There'll be eight green bottles hanging on the wall.
71
71
;
72
- const actual = bottle_song .recite (& buffer , 10 , 2 );
72
+ const actual = try bottle_song .recite (& buffer , 10 , 2 );
73
73
try testing .expectEqualStrings (expected , actual );
74
74
}
75
75
@@ -92,7 +92,7 @@ test "lyrics-multiple verses-last three verses" {
92
92
\\And if one green bottle should accidentally fall,
93
93
\\There'll be no green bottles hanging on the wall.
94
94
;
95
- const actual = bottle_song .recite (& buffer , 3 , 3 );
95
+ const actual = try bottle_song .recite (& buffer , 3 , 3 );
96
96
try testing .expectEqualStrings (expected , actual );
97
97
}
98
98
@@ -150,6 +150,6 @@ test "lyrics-multiple verses-all verses" {
150
150
\\And if one green bottle should accidentally fall,
151
151
\\There'll be no green bottles hanging on the wall.
152
152
;
153
- const actual = bottle_song .recite (& buffer , 10 , 10 );
153
+ const actual = try bottle_song .recite (& buffer , 10 , 10 );
154
154
try testing .expectEqualStrings (expected , actual );
155
155
}
0 commit comments