   test "it should report a violation for try" do
     """
     defmodule CredoSampleModule do
-
       def some_fun do
-        some_val 
-        |> try do 
-              raise "oops"
-            rescue
-              e in RuntimeError -> e
-          end
+        some_val
+        |> try do
+          raise "oops"
+        rescue
+          e in RuntimeError -> e
+        end
       end
     end
     """

  test "it should report a violation for if" do
    """
    defmodule CredoSampleModule do

      def some_fun do
        some_val 
        |> if do 
            :this
          else 
            :that
          end
      end
    end
    """

  test "it should report a violation for multiple violations" do
    """
    defmodule CredoSampleModule do
      def some_fun do
        some_val
        |> case do
          :this -> :that
          :that -> :this
        end

        some_val
        |> unless do
          :this
        end

        some_val
        |> if do
          :this
        else
          :that
        end

        some_val
        |> try do
          raise "oops"
        rescue
          e in RuntimeError -> e
        end
      end
    end
    """
