mirror of
https://github.com/github/semantic.git
synced 2024-12-03 13:56:04 +03:00
mollify GHC warnings I couldn't figure out
This commit is contained in:
parent
6212f58fab
commit
dbcdadf2bf
@ -10,17 +10,15 @@ import Semantic.Api hiding (Blob, File)
|
||||
import Semantic.Task
|
||||
import Serializing.Format
|
||||
import System.IO.Unsafe
|
||||
import System.Path ((</>))
|
||||
import qualified System.Path as Path
|
||||
import qualified System.Path.Fixture as Path
|
||||
import qualified System.Path.Fixture as Fixture
|
||||
import qualified System.Path.Directory as Path
|
||||
|
||||
import SpecHelpers
|
||||
import Test.Tasty
|
||||
import Test.Tasty.Golden
|
||||
|
||||
-- TODO: Fix this, or throw it out entirely.
|
||||
testTree :: Path.HasFixture => TestTree
|
||||
testTree :: TestTree
|
||||
testTree = testGroup "Semantic.CLI"
|
||||
[ testGroup "parseTermBuilder" $ fmap testForParseFixture parseFixtures
|
||||
]
|
||||
|
@ -1,6 +1,8 @@
|
||||
{-# LANGUAGE CPP #-}
|
||||
{-# LANGUAGE OverloadedStrings #-}
|
||||
{-# LANGUAGE ImplicitParams #-}
|
||||
{-# OPTIONS_GHC -Wno-unused-imports #-}
|
||||
{-# OPTIONS_GHC -Wno-redundant-constraints #-}
|
||||
|
||||
module Semantic.IO.Spec (spec) where
|
||||
|
||||
@ -16,7 +18,7 @@ import qualified System.Path.Fixture as Fixture
|
||||
spec :: Fixture.HasFixture => Spec
|
||||
spec = do
|
||||
#if BAZEL_BUILD
|
||||
rf <- Fixture.create
|
||||
rf <- runIO Fixture.create
|
||||
let ?project = Path.relDir "semantic"
|
||||
?runfiles = rf
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user