     assert String.split("a,b", ~r{\.}) == ["a,b"]
   end
 
-  test "split with compiled pattern" do
+  test "split/2,3 with compiled pattern" do
     pattern = :binary.compile_pattern("-")
 
     assert String.split("x-", pattern) == ["x", ""]

    end
  end

  test "to float" do
    assert String.to_float("3.0") == 3.0

    three = fn -> "3" end
    assert_raise ArgumentError, fn -> String.to_float(three.()) end
  end

  test "jaro distance" do
    assert String.jaro_distance("same", "same") == 1.0
    assert String.jaro_distance("any", "") == 0.0
    assert String.jaro_distance("", "any") == 0.0

    assert String.length("") == 0
  end

  test "at/2" do
    assert String.at("л", 0) == "л"
    assert String.at("elixir", 1) == "l"
    assert String.at("がガちゃ", 2) == "ち"
