From f4d28a135e338d0587c5dab8e537c832b7268282 Mon Sep 17 00:00:00 2001 From: Ziyang Liu Date: Thu, 8 Jul 2021 22:06:27 -0700 Subject: [PATCH] Update comment in generated test code --- TestGen.hs | 2 +- test/hspec/Data/Multimap/ConversionsSpec.hs | 2 +- test/hspec/Data/Multimap/InternalSpec.hs | 2 +- test/hspec/Data/Multimap/Set/InternalSpec.hs | 2 +- test/hspec/Data/Multimap/SetSpec.hs | 2 +- test/hspec/Data/Multimap/Table/InternalSpec.hs | 2 +- test/hspec/Data/MultimapSpec.hs | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/TestGen.hs b/TestGen.hs index 453d6c4..d0575c7 100755 --- a/TestGen.hs +++ b/TestGen.hs @@ -50,7 +50,7 @@ genTestsFor mod imports = do header :: String -> Imports -> [String] header mod imports = - [ "-- Generated code, do not modify by hand. Generate by running \"stack build && stack exec test-gen\"." + [ "-- Generated code, do not modify by hand. Generate by running TestGen.hs." , "" , "{-# OPTIONS_GHC -w #-}" , "module " ++ mod ++ "Spec where" diff --git a/test/hspec/Data/Multimap/ConversionsSpec.hs b/test/hspec/Data/Multimap/ConversionsSpec.hs index 3796b43..0bf861d 100644 --- a/test/hspec/Data/Multimap/ConversionsSpec.hs +++ b/test/hspec/Data/Multimap/ConversionsSpec.hs @@ -1,4 +1,4 @@ --- Generated code, do not modify by hand. Generate by running "stack build && stack exec test-gen". +-- Generated code, do not modify by hand. Generate by running TestGen.hs. {-# OPTIONS_GHC -w #-} module Data.Multimap.ConversionsSpec where diff --git a/test/hspec/Data/Multimap/InternalSpec.hs b/test/hspec/Data/Multimap/InternalSpec.hs index d2c5279..bb750a6 100644 --- a/test/hspec/Data/Multimap/InternalSpec.hs +++ b/test/hspec/Data/Multimap/InternalSpec.hs @@ -1,4 +1,4 @@ --- Generated code, do not modify by hand. Generate by running "stack build && stack exec test-gen". +-- Generated code, do not modify by hand. Generate by running TestGen.hs. {-# OPTIONS_GHC -w #-} module Data.Multimap.InternalSpec where diff --git a/test/hspec/Data/Multimap/Set/InternalSpec.hs b/test/hspec/Data/Multimap/Set/InternalSpec.hs index 03c0e5e..72c1e54 100644 --- a/test/hspec/Data/Multimap/Set/InternalSpec.hs +++ b/test/hspec/Data/Multimap/Set/InternalSpec.hs @@ -1,4 +1,4 @@ --- Generated code, do not modify by hand. Generate by running "stack build && stack exec test-gen". +-- Generated code, do not modify by hand. Generate by running TestGen.hs. {-# OPTIONS_GHC -w #-} module Data.Multimap.Set.InternalSpec where diff --git a/test/hspec/Data/Multimap/SetSpec.hs b/test/hspec/Data/Multimap/SetSpec.hs index 2da4a79..1b60b32 100644 --- a/test/hspec/Data/Multimap/SetSpec.hs +++ b/test/hspec/Data/Multimap/SetSpec.hs @@ -1,4 +1,4 @@ --- Generated code, do not modify by hand. Generate by running "stack build && stack exec test-gen". +-- Generated code, do not modify by hand. Generate by running TestGen.hs. {-# OPTIONS_GHC -w #-} module Data.Multimap.SetSpec where diff --git a/test/hspec/Data/Multimap/Table/InternalSpec.hs b/test/hspec/Data/Multimap/Table/InternalSpec.hs index b2a745f..feb1dde 100644 --- a/test/hspec/Data/Multimap/Table/InternalSpec.hs +++ b/test/hspec/Data/Multimap/Table/InternalSpec.hs @@ -1,4 +1,4 @@ --- Generated code, do not modify by hand. Generate by running "stack build && stack exec test-gen". +-- Generated code, do not modify by hand. Generate by running TestGen.hs. {-# OPTIONS_GHC -w #-} module Data.Multimap.Table.InternalSpec where diff --git a/test/hspec/Data/MultimapSpec.hs b/test/hspec/Data/MultimapSpec.hs index 11dd3e5..b06c39c 100644 --- a/test/hspec/Data/MultimapSpec.hs +++ b/test/hspec/Data/MultimapSpec.hs @@ -1,4 +1,4 @@ --- Generated code, do not modify by hand. Generate by running "stack build && stack exec test-gen". +-- Generated code, do not modify by hand. Generate by running TestGen.hs. {-# OPTIONS_GHC -w #-} module Data.MultimapSpec where