run mix format
Some checks reported errors
continuous-integration/drone/push Build encountered an error
Some checks reported errors
continuous-integration/drone/push Build encountered an error
This commit is contained in:
parent
abb14f08b9
commit
57a3cbca5b
@ -61,7 +61,7 @@ defmodule Memex.DataCase do
|
|||||||
def valid_user_password, do: "hello world!"
|
def valid_user_password, do: "hello world!"
|
||||||
|
|
||||||
def random_slug(length \\ 20) do
|
def random_slug(length \\ 20) do
|
||||||
symbols = '0123456789abcdef-'
|
symbols = ~c"0123456789abcdef-"
|
||||||
symbol_count = Enum.count(symbols)
|
symbol_count = Enum.count(symbols)
|
||||||
|
|
||||||
for _ <- Range.new(1, length),
|
for _ <- Range.new(1, length),
|
||||||
|
Loading…
Reference in New Issue
Block a user