   test "it should report a violation for if" do
     """
     defmodule CredoSampleModule do
-
       def some_fun do
-        some_val 
-        |> if do 
-            :this
-          else 
-            :that
-          end
+        some_val
+        |> if do
+          :this
+        else
+          :that
+        end
       end
     end
     """

      use ExUnit.Case

      def some_fun do
        var = some_val
        |> do_something
        |> do_something_else

        case var do
          :this -> :that

  test "it should report a violation for unless" do
    """
    defmodule CredoSampleModule do
      def some_fun do
        some_val
        |> unless do
          :this
        end
      end
    end
    """
