Skip to content

Commit

Permalink
add test for exercises/concept/german-sysadmin
Browse files Browse the repository at this point in the history
  • Loading branch information
coaltroll committed Sep 15, 2023
1 parent 54aed74 commit fdd3c79
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 fdd3c79

Please sign in to comment.