       use ExUnit.Case
 
       def some_fun do
-        var = some_val
-        |> do_something
-        |> do_something_else
+        var =
+          some_val
+          |> do_something
+          |> do_something_else
 
         case var do
           :this -> :that

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

      def some_fun do
        some_val 
        |> case do 
          :this -> :that
          :that -> :this
        end

  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
      end
    end
    """
