Skip to content

Commit 7876b0e

Browse files
committed
update: remove Samples folder
1 parent 854fecf commit 7876b0e

File tree

7 files changed

+19
-19
lines changed

7 files changed

+19
-19
lines changed

lambda-buffers-compiler/lambda-buffers-compiler.cabal

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -156,9 +156,9 @@ test-suite tests
156156

157157
other-modules:
158158
Test.KindCheck
159-
Test.Samples.Proto.CompilerInput
160-
Test.Samples.Proto.Module
161-
Test.Samples.Proto.SourceInfo
162-
Test.Samples.Proto.TyDef
163-
Test.Samples.Proto.Utils
159+
Test.Proto.CompilerInput
160+
Test.Proto.Module
161+
Test.Proto.SourceInfo
162+
Test.Proto.TyDef
163+
Test.Proto.Utils
164164
Test.TypeClassCheck

lambda-buffers-compiler/test/Test/KindCheck.hs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@ import LambdaBuffers.Compiler.KindCheck.Variable (
1515
import LambdaBuffers.Compiler.ProtoCompat.Types qualified as P (
1616
CompilerInput (CompilerInput),
1717
)
18+
import Test.Proto.CompilerInput (
19+
compilerInput'incoherent,
20+
compilerInput'maybe,
21+
)
1822
import Test.QuickCheck (
1923
Arbitrary (arbitrary, shrink),
2024
Property,
@@ -24,10 +28,6 @@ import Test.QuickCheck (
2428
shuffle,
2529
(===),
2630
)
27-
import Test.Samples.Proto.CompilerInput (
28-
compilerInput'incoherent,
29-
compilerInput'maybe,
30-
)
3131
import Test.Tasty (TestTree, testGroup)
3232
import Test.Tasty.HUnit (assertBool, testCase, (@?=))
3333
import Test.Tasty.QuickCheck (testProperty)

lambda-buffers-compiler/test/Test/Samples/Proto/CompilerInput.hs renamed to lambda-buffers-compiler/test/Test/Proto/CompilerInput.hs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
module Test.Samples.Proto.CompilerInput (compilerInput'incoherent, compilerInput'maybe) where
1+
module Test.Proto.CompilerInput (compilerInput'incoherent, compilerInput'maybe) where
22

33
import Control.Lens ((&), (.~))
44
import LambdaBuffers.Compiler.ProtoCompat qualified as P
5-
import Test.Samples.Proto.Module (module'incoherent, module'maybe)
5+
import Test.Proto.Module (module'incoherent, module'maybe)
66

77
-- | Compiler Input containing 1 module with 1 definition - Maybe.
88
compilerInput'maybe :: P.CompilerInput

lambda-buffers-compiler/test/Test/Samples/Proto/Module.hs renamed to lambda-buffers-compiler/test/Test/Proto/Module.hs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
module Test.Samples.Proto.Module (module'maybe, module'incoherent) where
1+
module Test.Proto.Module (module'maybe, module'incoherent) where
22

33
import Control.Lens ((%~), (&))
44
import LambdaBuffers.Compiler.ProtoCompat qualified as P
5-
import Test.Samples.Proto.SourceInfo (sourceInfo'empty)
6-
import Test.Samples.Proto.TyDef (tyDef'incoherent, tyDef'maybe)
5+
import Test.Proto.SourceInfo (sourceInfo'empty)
6+
import Test.Proto.TyDef (tyDef'incoherent, tyDef'maybe)
77

88
module'maybe :: P.Module
99
module'maybe =

lambda-buffers-compiler/test/Test/Samples/Proto/SourceInfo.hs renamed to lambda-buffers-compiler/test/Test/Proto/SourceInfo.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
module Test.Samples.Proto.SourceInfo (sourceInfo'empty) where
1+
module Test.Proto.SourceInfo (sourceInfo'empty) where
22

33
import LambdaBuffers.Compiler.ProtoCompat qualified as P
44

lambda-buffers-compiler/test/Test/Samples/Proto/TyDef.hs renamed to lambda-buffers-compiler/test/Test/Proto/TyDef.hs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
module Test.Samples.Proto.TyDef (tyDef'maybe, tyDef'incoherent) where
1+
module Test.Proto.TyDef (tyDef'maybe, tyDef'incoherent) where
22

33
import LambdaBuffers.Compiler.ProtoCompat qualified as P
4-
import Test.Samples.Proto.Utils (
4+
import Test.Proto.Utils (
55
_TupleI,
66
_TyAbs,
77
_TyDef,

lambda-buffers-compiler/test/Test/Samples/Proto/Utils.hs renamed to lambda-buffers-compiler/test/Test/Proto/Utils.hs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
module Test.Samples.Proto.Utils (
1+
module Test.Proto.Utils (
22
_tyName,
33
_varName,
44
_tyVar,
@@ -17,7 +17,7 @@ module Test.Samples.Proto.Utils (
1717
import Data.List.NonEmpty (fromList)
1818
import Data.Text (Text)
1919
import LambdaBuffers.Compiler.ProtoCompat qualified as P
20-
import Test.Samples.Proto.SourceInfo (sourceInfo'empty)
20+
import Test.Proto.SourceInfo (sourceInfo'empty)
2121

2222
_tyName :: Text -> P.TyName
2323
_tyName x = P.TyName x sourceInfo'empty

0 commit comments

Comments
 (0)