Packages

The library Slugger can generate slugs from given strings that can be used in URLs or file names.

Current section

Files

Jump to
slugger test slugger_property_test.exs
Raw

test/slugger_property_test.exs

defmodule SluggerPropertyTest do
use ExUnit.Case, async: false
use ExCheck
property :always_same_slug_created do
for_all s in unicode_string do
assert Slugger.slugify(s) == Slugger.slugify(s)
end
end
end