Skip to content

Commit

Permalink
updated golden files (#120)
Browse files Browse the repository at this point in the history
  • Loading branch information
albertov authored May 17, 2024
1 parent 89470e8 commit 9a1eccc
Show file tree
Hide file tree
Showing 3 changed files with 47 additions and 1 deletion.
20 changes: 20 additions & 0 deletions inferno-core/golden/RestOfRecord/RowAbsent.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"samples": [
{
"tag": "RowAbsent"
},
{
"tag": "RowAbsent"
},
{
"tag": "RowAbsent"
},
{
"tag": "RowAbsent"
},
{
"tag": "RowAbsent"
}
],
"seed": 1941087234
}
25 changes: 25 additions & 0 deletions inferno-core/golden/RestOfRecord/RowVar.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"samples": [
{
"contents": 28,
"tag": "RowVar"
},
{
"contents": 3,
"tag": "RowVar"
},
{
"contents": 2,
"tag": "RowVar"
},
{
"contents": -26,
"tag": "RowVar"
},
{
"contents": -12,
"tag": "RowVar"
}
],
"seed": -1342020460
}
3 changes: 2 additions & 1 deletion inferno-core/test/Golden/Spec.hs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ module Golden.Spec (goldenTests) where
import Data.Proxy (Proxy (Proxy))
import Inferno.Instances.Arbitrary ()
import Inferno.Types.Syntax (BaseType, Ident, InfernoType, ModuleName, TV)
import Inferno.Types.Type (Namespace)
import Inferno.Types.Type (Namespace, RestOfRecord)
import Inferno.VersionControl.Types
( VCIncompatReason,
VCObject,
Expand Down Expand Up @@ -44,6 +44,7 @@ goldenAesonTests = do
Aeson.roundtripAndGoldenADTSpecs $ Proxy @BaseType
Aeson.roundtripAndGoldenADTSpecs $ Proxy @TV
Aeson.roundtripAndGoldenADTSpecs $ Proxy @InfernoType
Aeson.roundtripAndGoldenADTSpecs $ Proxy @RestOfRecord

goldenCerealTests :: Spec
goldenCerealTests = do
Expand Down

0 comments on commit 9a1eccc

Please sign in to comment.