We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 76a92b5 commit 4a39114Copy full SHA for 4a39114
lib/ex_unit/lib/ex_unit/case.ex
@@ -418,13 +418,13 @@ defmodule ExUnit.Case do
418
defmodule StringTest do
419
use ExUnit.Case, async: true
420
421
- describe "String.capitalize/1" do
422
- test "first grapheme is in uppercase" do
423
- assert String.capitalize("hello") == "Hello"
+ describe "String.downcase/1" do
+ test "with ascii characters" do
+ assert String.downcase("HELLO") == "hello"
424
end
425
426
- test "converts remaining graphemes to lowercase" do
427
- assert String.capitalize("HELLO") == "Hello"
+ test "with Unicode" do
+ assert String.downcase("HÉLLÒ") == "héllò"
428
429
430
0 commit comments