forked from zio/zio-schema
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
22 additions
and
1 deletion.
There are no files selected for viewing
21 changes: 21 additions & 0 deletions
21
tests/jvm/src/test/scala-3/zio/schema/PlatformSpecificGen.scala
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
package zio.schema | ||
|
||
import zio.schema.SchemaGen.SchemaTest | ||
import zio.schema.StandardTypeGen.StandardTypeAndGen | ||
import zio.test.Gen | ||
|
||
object PlatformSpecificGen { | ||
|
||
val platformSpecificStandardTypes: Gen[Any, StandardType[_]] = Gen.fromIterable( | ||
List( | ||
) | ||
) | ||
|
||
def platformSpecificStandardTypeAndGen(standardTypeGen: StandardType[_]): StandardTypeAndGen[_] = | ||
standardTypeGen match { | ||
case _ => StandardType.UnitType -> Gen.unit: StandardTypeAndGen[_] | ||
} | ||
|
||
val platformSpecificSchemasAndGens: List[SchemaTest[_]] = List( | ||
) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters