1{-# LANGUAGE OverloadedStrings #-}
2module StackTrace.PluginSpec (spec) where
4import Data.ByteString.Lazy (ByteString)
5import qualified Data.ByteString.Lazy as BL
7import System.Process.Typed
12 expected <- runIO $ BL.readFile "test/resource/ghc.output"
13 it "integration test" $ output `shouldBe` expected
18 runProcess_ $ shell "cabal install exe:example --installdir=./dist"
19 err <- readProcessStderr_ $ shell "./dist/example || true"
20 runProcess_ $ shell "rm -rf ./dist"
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list