From 379b9d4f75363cea14d73e80770d7bc8d389f8d8 Mon Sep 17 00:00:00 2001 From: Rob Rix Date: Fri, 27 Sep 2019 15:15:37 -0400 Subject: [PATCH] Fix the tests. --- semantic-python/test/Test.hs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/semantic-python/test/Test.hs b/semantic-python/test/Test.hs index 540f37a5b..af691d9f7 100644 --- a/semantic-python/test/Test.hs +++ b/semantic-python/test/Test.hs @@ -29,12 +29,12 @@ import Data.String (fromString) import GHC.Stack import qualified Language.Python.Core as Py import Prelude hiding (fail) +import qualified Source.Span as Source (Span) import Streaming import qualified Streaming.Prelude as Stream import qualified Streaming.Process import System.Directory import System.Exit -import qualified TreeSitter.Span as TS (Span) import qualified TreeSitter.Python as TSP import qualified TreeSitter.Python.AST as TSP import qualified TreeSitter.Unmarshal as TS @@ -100,7 +100,7 @@ fixtureTestTreeForFile fp = HUnit.testCaseSteps (Path.toString fp) $ \step -> wi . runFail . runReader (fromString @Py.SourcePath . Path.toString $ fp) . runReader @Py.Bindings mempty - . Py.compile @(TSP.Module TS.Span) @_ @(Term (Ann :+: Core)) + . Py.compile @(TSP.Module Source.Span) @_ @(Term (Ann :+: Core)) <$> result for_ directives $ \directive -> do