File tree Expand file tree Collapse file tree
testdata/golden/AaJsonSpec Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -72,7 +72,7 @@ import Data.Aeson.Encode.Pretty (encodePretty)
7272
7373labelToAaJson :: AA. Label T. Text -> Value
7474labelToAaJson (AA. Pre a) = object [ " Pre" .= a ]
75- labelToAaJson (AA. PrePost a b) = object [ " PrePost " .= [a,b] ]
75+ labelToAaJson (AA. PrePost a b) = object [ " Pre " .= a, " Post " .= b ]
7676labelToAaJson (AA. Metadata a) = object [ " Metadata" .= a ]
7777
7878bsToAaJson :: BoolStructLT -> Value
Original file line number Diff line number Diff line change @@ -114,3 +114,8 @@ spec = do
114114 it " convert must sing to AaJson" do
115115 rodents_purs <- transpileFile " rodents"
116116 pure $ goldenGeneric " rodents" rodents_purs
117+
118+ describe " pdpa" do
119+ it " convert must sing to AaJson" do
120+ rodents_purs <- transpileFile " pdpa"
121+ pure $ goldenGeneric " pdpa" rodents_purs
You can’t perform that action at this time.
0 commit comments