File tree Expand file tree Collapse file tree 7 files changed +19
-19
lines changed Expand file tree Collapse file tree 7 files changed +19
-19
lines changed Original file line number Diff line number Diff line change @@ -156,9 +156,9 @@ test-suite tests
156156
157157 other-modules :
158158 Test.KindCheck
159- Test.Proto.CompilerInput
160- Test.Proto.Module
161- Test.Proto.SourceInfo
162- Test.Proto.TyDef
163- Test.Proto.Utils
164159 Test.TypeClassCheck
160+ Test.Utils.CompilerInput
161+ Test.Utils.Constructors
162+ Test.Utils.Module
163+ Test.Utils.SourceInfo
164+ Test.Utils.TyDef
Original file line number Diff line number Diff line change @@ -15,10 +15,6 @@ import LambdaBuffers.Compiler.KindCheck.Variable (
1515import LambdaBuffers.Compiler.ProtoCompat.Types qualified as P (
1616 CompilerInput (CompilerInput ),
1717 )
18- import Test.Proto.CompilerInput (
19- compilerInput'incoherent ,
20- compilerInput'maybe ,
21- )
2218import Test.QuickCheck (
2319 Arbitrary (arbitrary , shrink ),
2420 Property ,
@@ -31,6 +27,10 @@ import Test.QuickCheck (
3127import Test.Tasty (TestTree , testGroup )
3228import Test.Tasty.HUnit (assertBool , testCase , (@?=) )
3329import Test.Tasty.QuickCheck (testProperty )
30+ import Test.Utils.CompilerInput (
31+ compilerInput'incoherent ,
32+ compilerInput'maybe ,
33+ )
3434
3535--------------------------------------------------------------------------------
3636-- Top Level tests
Original file line number Diff line number Diff line change 1- module Test.Proto .CompilerInput (compilerInput'incoherent , compilerInput'maybe ) where
1+ module Test.Utils .CompilerInput (compilerInput'incoherent , compilerInput'maybe ) where
22
33import Control.Lens ((&) , (.~) )
44import LambdaBuffers.Compiler.ProtoCompat qualified as P
5- import Test.Proto .Module (module'incoherent , module'maybe )
5+ import Test.Utils .Module (module'incoherent , module'maybe )
66
77-- | Compiler Input containing 1 module with 1 definition - Maybe.
88compilerInput'maybe :: P. CompilerInput
Original file line number Diff line number Diff line change 1- module Test.Proto. Utils (
1+ module Test.Utils.Constructors (
22 _tyName ,
33 _varName ,
44 _tyVar ,
@@ -17,7 +17,7 @@ module Test.Proto.Utils (
1717import Data.List.NonEmpty (fromList )
1818import Data.Text (Text )
1919import LambdaBuffers.Compiler.ProtoCompat qualified as P
20- import Test.Proto .SourceInfo (sourceInfo'empty )
20+ import Test.Utils .SourceInfo (sourceInfo'empty )
2121
2222_tyName :: Text -> P. TyName
2323_tyName x = P. TyName x sourceInfo'empty
Original file line number Diff line number Diff line change 1- module Test.Proto .Module (module'maybe , module'incoherent ) where
1+ module Test.Utils .Module (module'maybe , module'incoherent ) where
22
33import Control.Lens ((%~) , (&) )
44import LambdaBuffers.Compiler.ProtoCompat qualified as P
5- import Test.Proto .SourceInfo (sourceInfo'empty )
6- import Test.Proto .TyDef (tyDef'incoherent , tyDef'maybe )
5+ import Test.Utils .SourceInfo (sourceInfo'empty )
6+ import Test.Utils .TyDef (tyDef'incoherent , tyDef'maybe )
77
88module'maybe :: P. Module
99module'maybe =
Original file line number Diff line number Diff line change 1- module Test.Proto .SourceInfo (sourceInfo'empty ) where
1+ module Test.Utils .SourceInfo (sourceInfo'empty ) where
22
33import LambdaBuffers.Compiler.ProtoCompat qualified as P
44
Original file line number Diff line number Diff line change 1- module Test.Proto .TyDef (tyDef'maybe , tyDef'incoherent ) where
1+ module Test.Utils .TyDef (tyDef'maybe , tyDef'incoherent ) where
22
33import LambdaBuffers.Compiler.ProtoCompat qualified as P
4- import Test.Proto. Utils (
4+ import Test.Utils.Constructors (
55 _TupleI ,
66 _TyAbs ,
77 _TyDef ,
You can’t perform that action at this time.
0 commit comments