   test "it should NOT report when commas have spaces" do
 """
 defmodule CredoSampleModule do
-    @attribute {:foo, :bar}
+  @attribute {:foo, :bar}
 end
 """ |> to_source_file
     |> refute_issues(@described_check)

  test "it requires spaces after commas preceded by variables ending with a ?" do
"""
defmodule CredoSampleModule do
    @attribute [question?,answer]
end
""" |> to_source_file
    |> assert_issue(@described_check)

  test "it should report when commas are not followed by spaces" do
"""
defmodule CredoSampleModule do
  @attribute {:foo,:bar}
end
""" |> to_source_file
    |> assert_issue(@described_check, fn(issue) ->
        assert 19 == issue.column
        assert ",:" ==  issue.trigger
      end)
  end
