File tree Expand file tree Collapse file tree
exercises/practice/acronym/.meta Expand file tree Collapse file tree Original file line number Diff line number Diff line change 33{% if loop.index != 1 -%}
44#[ignore]
55{% endif -%}
6- fn {{ test.description | lower | replace(from=" ", to="_") }}() {
6+ fn {{ test.description | slugify | replace(from="- ", to="_") }}() {
77 let input = {{ test.input.phrase | json_encode() }};
88 let output = {{ crate_name }}::{{ fn_names[0] }}(input);
99 let expected = {{ test.expected | json_encode() }};
Original file line number Diff line number Diff line change 33{% if loop.index != 1 -%}
44#[ignore]
55{% endif -%}
6- fn {{ test.description | lower | replace(from=" ", to="_") }}() {
6+ fn {{ test.description | slugify | replace(from="- ", to="_") }}() {
77 let input = {{ test.input | json_encode() }};
88 let output = {{ crate_name }}::{{ fn_names[0] }}(input);
99 let expected = {{ test.expected | json_encode() }};
You can’t perform that action at this time.
0 commit comments