X-Git-Url: http://gitweb.michael.orlitzky.com/?a=blobdiff_plain;f=src%2FTSN%2FXML%2FNews.hs;h=20b3a1c513da2a091680ccf4989f88ce1e218fc2;hb=ff00750eb841c935160ebc21dd5a9fedbb64444f;hp=7d8ef754a0081a16679200b4c2c4fd2869f28d21;hpb=1f260c118e8da5679820c8cfa489d8fe4a521140;p=dead%2Fhtsn-import.git diff --git a/src/TSN/XML/News.hs b/src/TSN/XML/News.hs index 7d8ef75..20b3a1c 100644 --- a/src/TSN/XML/News.hs +++ b/src/TSN/XML/News.hs @@ -227,9 +227,9 @@ instance DbImport Message where return ImportSucceeded --- | These types don't have special XML representations or field name --- collisions so we use the defaultCodegenConfig and give their --- fields nice simple names. +-- These types don't have special XML representations or field name +-- collisions so we use the defaultCodegenConfig and give their +-- fields nice simple names. mkPersist defaultCodegenConfig [groundhog| - entity: NewsTeam dbName: news_teams @@ -252,9 +252,8 @@ mkPersist defaultCodegenConfig [groundhog| |] --- | These types have fields with e.g. db_ and xml_ prefixes, so we --- use our own codegen to peel those off before naming the columns. --- +-- These types have fields with e.g. db_ and xml_ prefixes, so we +-- use our own codegen to peel those off before naming the columns. mkPersist tsn_codegen_config [groundhog| - entity: News dbName: news @@ -427,7 +426,7 @@ test_news_fields_have_correct_names = -- | If we unpickle something and then pickle it, we should wind up --- with the same thing we started with. WARNING: succeess of this +-- with the same thing we started with. WARNING: success of this -- test does not mean that unpickling succeeded. -- test_pickle_of_unpickle_is_identity :: TestTree