Skip to content

Commit

Permalink
add test for exercises/concept/german-sysadmin (#1364)
Browse files Browse the repository at this point in the history
  • Loading branch information
coaltroll authored Sep 16, 2023
1 parent 2e25d77 commit c5cdeb1
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions exercises/concept/german-sysadmin/test/username_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -54,5 +54,10 @@ defmodule UsernameTest do
assert Username.sanitize(~c"jäger") == ~c"jaeger"
assert Username.sanitize(~c"groß") == ~c"gross"
end

@tag task_id: 3
test "it substitutes German letters and removes disallowed characters" do
assert Username.sanitize(~c"köhler_jäger42") == ~c"koehler_jaeger"
end
end
end

0 comments on commit c5cdeb1

Please sign in to comment.