diff --git a/Formula/s/stylish-haskell.rb b/Formula/s/stylish-haskell.rb index 1a7358c626c2b..6fda404961797 100644 --- a/Formula/s/stylish-haskell.rb +++ b/Formula/s/stylish-haskell.rb @@ -26,7 +26,7 @@ def install end test do - (testpath/"test.hs").write <<~EOS + (testpath/"test.hs").write <<~HASKELL {-# LANGUAGE ViewPatterns, TemplateHaskell #-} {-# LANGUAGE GeneralizedNewtypeDeriving, ViewPatterns, @@ -39,8 +39,8 @@ module Bad where import qualified Data.Map as M import Data.Map ((!), keys, Map) - EOS - expected = <<~EOS + HASKELL + expected = <<~HASKELL {-# LANGUAGE GeneralizedNewtypeDeriving #-} {-# LANGUAGE ScopedTypeVariables #-} {-# LANGUAGE TemplateHaskell #-} @@ -52,7 +52,7 @@ module Bad where import Data.Map (Map, keys, (!)) import qualified Data.Map as M - EOS + HASKELL assert_equal expected, shell_output("#{bin}/stylish-haskell test.hs") end end