@@ -156,7 +156,7 @@ mod tests {
156156 "
157157 service frontend {
158158 method main_page {
159- print \" Main page\"
159+ print \" Main page\" ;
160160 }
161161 }
162162 "
@@ -167,8 +167,8 @@ mod tests {
167167 "
168168 service frontend {
169169 method main_page {
170- print \" Main page\"
171- sleep 1000ms
170+ print \" Main page\" ;
171+ sleep 1000ms;
172172 }
173173 }
174174 "
@@ -179,12 +179,12 @@ mod tests {
179179 "
180180 service frontend {
181181 method main_page {
182- print \" Main page\"
183- sleep 1000ms
182+ print \" Main page\" ;
183+ sleep 1000ms;
184184 }
185185
186186 loop {
187- call main_page
187+ call main_page;
188188 }
189189 }
190190 "
@@ -195,8 +195,8 @@ mod tests {
195195 "
196196 service products {
197197 method get_products {
198- print \" Fetching product orders %s\" with [\" 12345\" , \" 67890\" ]
199- sleep 500ms
198+ print \" Fetching product orders %s\" with [\" 12345\" , \" 67890\" ];
199+ sleep 500ms;
200200 }
201201 }
202202 "
@@ -207,8 +207,8 @@ mod tests {
207207 "
208208 service products {
209209 method get_products {
210- stderr \" Fetching product orders %s\" with [\" 12345\" , \" 67890\" ]
211- sleep 500ms
210+ stderr \" Fetching product orders %s\" with [\" 12345\" , \" 67890\" ];
211+ sleep 500ms;
212212 }
213213 }
214214 "
@@ -219,8 +219,8 @@ mod tests {
219219 "
220220 service products {
221221 method get_products {
222- print \" Fetching product orders %s\" with []
223- sleep 500ms
222+ print \" Fetching product orders %s\" with [];
223+ sleep 500ms;
224224 }
225225 }
226226 "
@@ -231,8 +231,8 @@ mod tests {
231231 "
232232 service products {
233233 method get_products {
234- stderr \" Fetching product orders %s\" with []
235- sleep 500ms
234+ stderr \" Fetching product orders %s\" with [];
235+ sleep 500ms;
236236 }
237237 }
238238 "
@@ -243,18 +243,18 @@ mod tests {
243243 "
244244 service products {
245245 method get_products {
246- print \" Fetching product orders %s\" with [\" 12345\" , \" 67890\" ]
247- sleep 500ms
246+ print \" Fetching product orders %s\" with [\" 12345\" , \" 67890\" ];
247+ sleep 500ms;
248248 }
249249 }
250250
251251 service frontend {
252252 method main_page {
253- call products.get_products
253+ call products.get_products;
254254 }
255255
256256 loop {
257- call main_page
257+ call main_page;
258258 }
259259 }
260260 "
@@ -265,14 +265,14 @@ mod tests {
265265 "
266266 service products {
267267 method get_products {
268- print \" Fetching product orders %s\" with [\" 12345\" , \" 67890\" ]
269- sleep 500ms
268+ print \" Fetching product orders %s\" with [\" 12345\" , \" 67890\" ];
269+ sleep 500ms;
270270 }
271271 }
272272
273273 service frontend {
274274 method main_page {
275- call products.get_products
275+ call products.get_products;
276276 }
277277 }
278278 "
0 commit comments