mirror of
https://github.com/github/semantic.git
synced 2024-11-24 00:42:33 +03:00
tests work now
This commit is contained in:
parent
83b0211d75
commit
052a95e9b6
@ -3,7 +3,6 @@
|
||||
module Analysis.Ruby.Spec (spec) where
|
||||
|
||||
import Control.Abstract (Declaration (..), ScopeError (..))
|
||||
import Control.Effect.Resumable (SomeError (..))
|
||||
import Data.Abstract.Evaluatable
|
||||
import qualified Data.Abstract.ModuleTable as ModuleTable
|
||||
import Data.Abstract.Number as Number
|
||||
|
@ -8,7 +8,6 @@ import qualified Data.Abstract.ScopeGraph as ScopeGraph (AccessControl(..))
|
||||
import Control.Abstract.ScopeGraph hiding (AccessControl(..))
|
||||
import Data.Abstract.Evaluatable
|
||||
import qualified Data.Abstract.Heap as Heap
|
||||
import Data.Abstract.Module (ModuleInfo (..))
|
||||
import qualified Data.Abstract.ModuleTable as ModuleTable
|
||||
import Data.Abstract.Number as Number
|
||||
import Data.Abstract.Package (PackageInfo (..))
|
||||
|
@ -5,7 +5,6 @@ import Assigning.Assignment
|
||||
import Data.AST
|
||||
import Data.Bifunctor (first)
|
||||
import Data.Ix
|
||||
import Data.Semigroup ((<>))
|
||||
import Data.Term
|
||||
import Data.Text as T (Text, length, words)
|
||||
import Data.Text.Encoding (encodeUtf8)
|
||||
|
@ -3,7 +3,6 @@ module Diffing.Algorithm.RWS.Spec (spec) where
|
||||
|
||||
import Data.Bifunctor
|
||||
import Data.Diff
|
||||
import Data.Functor.Listable (ListableSyntax)
|
||||
import Data.Sum
|
||||
import qualified Data.Syntax as Syntax
|
||||
import Data.Term
|
||||
|
@ -11,7 +11,6 @@ import Control.Effect.Parse
|
||||
import "semantic" Data.Graph (Graph (..), topologicalSort)
|
||||
import Data.Graph.ControlFlowVertex
|
||||
import qualified Data.Language as Language
|
||||
import Data.Maybe (fromJust)
|
||||
import Semantic.Graph
|
||||
import qualified System.Path as Path
|
||||
|
||||
|
@ -3,7 +3,7 @@ module Integration.Spec (testTree) where
|
||||
|
||||
import Control.Exception (throw)
|
||||
import Data.Foldable (find)
|
||||
import Data.List (union, concat, transpose)
|
||||
import Data.List (union, transpose)
|
||||
import qualified Data.ByteString.Lazy as BL
|
||||
import System.FilePath.Glob
|
||||
import System.IO.Unsafe
|
||||
|
@ -5,7 +5,6 @@ import Control.Effect.Reader
|
||||
import Control.Exception (fromException)
|
||||
import SpecHelpers
|
||||
|
||||
import Data.Blob (NoLanguageForBlob (..))
|
||||
import Semantic.Api hiding (Blob)
|
||||
|
||||
-- we need some lenses here, oof
|
||||
|
@ -28,7 +28,6 @@ import Control.Carrier.Parse.Simple
|
||||
import Control.Effect.Lift
|
||||
import Control.Effect.Trace as X (runTraceByIgnoring, runTraceByReturning)
|
||||
import Control.Exception (displayException)
|
||||
import Control.Monad ((>=>))
|
||||
import Control.Monad as X
|
||||
import Data.Abstract.Address.Precise as X
|
||||
import Data.Abstract.Evaluatable
|
||||
@ -37,7 +36,6 @@ import qualified Data.Abstract.Heap as Heap
|
||||
import Data.Abstract.Module as X
|
||||
import Data.Abstract.ModuleTable as X hiding (lookup)
|
||||
import Data.Abstract.Name as X
|
||||
import Data.Abstract.ScopeGraph (EdgeLabel(..))
|
||||
import qualified Data.Abstract.ScopeGraph as ScopeGraph
|
||||
import Data.Abstract.Value.Concrete (Value(..), ValueError, runValueError)
|
||||
import Data.Blob as X
|
||||
|
@ -8,7 +8,6 @@ import Control.Exception
|
||||
import Data.Bifunctor (first)
|
||||
import Data.List (intercalate)
|
||||
import Data.Maybe (listToMaybe)
|
||||
import GHC.Show as Show (showsPrec)
|
||||
import Test.Hspec
|
||||
import Test.Hspec.Core.Spec as Hspec
|
||||
import qualified Test.HUnit.Lang as HUnit
|
||||
|
Loading…
Reference in New Issue
Block a user