File tree Expand file tree Collapse file tree 7 files changed +14
-13
lines changed
tests/Language/Haskell/Stylish/Step Expand file tree Collapse file tree 7 files changed +14
-13
lines changed Original file line number Diff line number Diff line change 2929 name : Cache ~/.stack
3030 with :
3131 path : ~/.stack
32- key : ${{ runner.os }}-${{ matrix.ghc }}-v6
32+ key : ${{ runner.os }}-${{ matrix.ghc }}-v7
3333
3434 - name : Add ~/.local/bin to PATH
3535 run : echo "$HOME/.local/bin" >> $GITHUB_PATH
Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ You can also install it using your package manager:
3737
3838Feature requests are welcome! Use the [ issue tracker] for that.
3939
40- [ issue tracker ] : https://github.com/jaspervdj /stylish-haskell/issues
40+ [ issue tracker ] : https://github.com/haskell /stylish-haskell/issues
4141
4242## Example
4343
@@ -234,7 +234,7 @@ haskell-mode manual.
234234
235235You can quickly grab the latest binary and run `stylish-haskell` like so:
236236
237- curl -sL https://raw.github.com/jaspervdj /stylish-haskell/master/scripts/latest.sh | sh -s .
237+ curl -sL https://raw.github.com/haskell /stylish-haskell/master/scripts/latest.sh | sh -s .
238238
239239Where the `.` can be replaced with the arguments you pass to `stylish-haskell`.
240240
Original file line number Diff line number Diff line change 66PACKAGE=stylish-haskell
77echo Downloading and running $PACKAGE ...
88
9- RELEASES=$( curl --silent https://github.com/jaspervdj /$PACKAGE /releases)
9+ RELEASES=$( curl --silent https://github.com/haskell /$PACKAGE /releases)
1010URL=https://github.com/$( echo $RELEASES | grep -o ' \"[^\"]*-linux-x86_64\.tar\.gz\"' | sed s/\" //g | head -n1)
1111VERSION=$( echo $URL | sed -e ' s/.*-\(v[\.0-9]\+-linux-x86_64\)\.tar\.gz/\1/' )
1212TEMP=$( mktemp --directory .$PACKAGE -XXXXX)
Original file line number Diff line number Diff line change 11#! /bin/sh
22# Ported from https://github.com/ndmitchell/hlint/blob/master/misc/travis.sh
33
4- curl -sL https://raw.github.com/jaspervdj /stylish-haskell/master/scripts/latest.sh | sh -s -- stylish-haskell $*
4+ curl -sL https://raw.github.com/haskell /stylish-haskell/master/scripts/latest.sh | sh -s -- stylish-haskell $*
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ Cabal-version: 2.4
22Name : stylish-haskell
33Version : 0.12.2.0
44Synopsis : Haskell code prettifier
5- Homepage : https://github.com/jaspervdj /stylish-haskell
5+ Homepage : https://github.com/haskell /stylish-haskell
66License : BSD-3-Clause
77License-file : LICENSE
88Author : Jasper Van der Jeugt <m@jaspervdj.be>
@@ -16,7 +16,7 @@ Description:
1616
1717 .
1818
19- <https://github.com/jaspervdj /stylish-haskell/blob/master/README.markdown>
19+ <https://github.com/haskell /stylish-haskell/blob/master/README.markdown>
2020
2121Extra-source-files :
2222 CHANGELOG,
@@ -179,4 +179,4 @@ Test-suite stylish-haskell-tests
179179
180180Source-repository head
181181 Type : git
182- Location : https://github.com/jaspervdj /stylish-haskell
182+ Location : https://github.com/haskell /stylish-haskell
Original file line number Diff line number Diff line change @@ -450,7 +450,7 @@ case19 = expected @=? testStep (step indentIndentStyle) input
450450
451451-- | Should not break Enums (data without records) formatting
452452--
453- -- See https://github.com/jaspervdj /stylish-haskell/issues/262
453+ -- See https://github.com/haskell /stylish-haskell/issues/262
454454case20 :: Assertion
455455case20 = input @=? testStep (step indentIndentStyle) input
456456 where
@@ -1277,7 +1277,7 @@ case57 = assertSnippet (step defaultConfig)
12771277
12781278-- | Should not break DataKinds in records
12791279--
1280- -- See https://github.com/jaspervdj /stylish-haskell/issues/330
1280+ -- See https://github.com/haskell /stylish-haskell/issues/330
12811281case58 :: Assertion
12821282case58 = expected @=? testStep (step sameIndentStyle) input
12831283 where
Original file line number Diff line number Diff line change 11-- | Tests contributed by Felix Mulder as part of
2- -- <https://github.com/jaspervdj /stylish-haskell/pull/293>.
2+ -- <https://github.com/haskell /stylish-haskell/pull/293>.
33module Language.Haskell.Stylish.Step.Imports.FelixTests
44 ( tests
55 ) where
66
77--------------------------------------------------------------------------------
8+ import GHC.Stack (HasCallStack ,
9+ withFrozenCallStack )
10+ import Prelude hiding (lines )
811import Test.Framework (Test , testGroup )
912import Test.Framework.Providers.HUnit (testCase )
1013import Test.HUnit (Assertion )
11- import GHC.Stack (HasCallStack , withFrozenCallStack )
12- import Prelude hiding (lines )
1314
1415--------------------------------------------------------------------------------
1516import Language.Haskell.Stylish.Module
You can’t perform that action at this time.
0 commit comments