defmodule PodcastFeed.Utility.FormatTest do use ExUnit.Case alias PodcastFeed.Utility.Format test "Test placeholder are replaced" do assert "http://foo/bar" == Format.compile("http://{host}/{path}", host: "foo", path: "bar") end end