File tree Expand file tree Collapse file tree 2 files changed +18
-17
lines changed Expand file tree Collapse file tree 2 files changed +18
-17
lines changed Original file line number Diff line number Diff line change 1- try {
2- {{#hasResponse} }final res = { {/hasResponse} }await client.{ {method} }(
3- { {#parametersWithDataType} }
4- { {> tests/request_param} }
5- { {/parametersWithDataType} }
6- );
7- { {#testResponse} }
8- { {^match.isPrimitive} }
9- expectBody(res, """{ {{match.value} }}""");
10- { {/match.isPrimitive} }
11- { {#match.isPrimitive} }
12- expect(res, { {#match} }{ {> tests/param_value} }{ {/match} });
13- { {/match.isPrimitive} }
14- { {/testResponse} }
15- } on InterceptionException catch (_) {
16- // Ignore InterceptionException
17- }
1+ { {> tests/method} }
Original file line number Diff line number Diff line change 1+ try {
2+ {{#hasResponse} }final res = { {/hasResponse} }await client.{ {method} }(
3+ { {#parametersWithDataType} }
4+ { {> tests/request_param} }
5+ { {/parametersWithDataType} }
6+ );
7+ { {#testResponse} }
8+ { {^match.isPrimitive} }
9+ expectBody(res, """{ {{match.value} }}""");
10+ { {/match.isPrimitive} }
11+ { {#match.isPrimitive} }
12+ expect(res, { {#match} }{ {> tests/param_value} }{ {/match} });
13+ { {/match.isPrimitive} }
14+ { {/testResponse} }
15+ } on InterceptionException catch (_) {
16+ // Ignore InterceptionException
17+ }
You can’t perform that action at this time.
0 commit comments