projects
/
ganeti-local
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bca39f5
)
Fix lint issue in Test/…/THH.hs
author
Iustin Pop
<iustin@google.com>
Fri, 26 Oct 2012 11:48:45 +0000
(13:48 +0200)
committer
Iustin Pop
<iustin@google.com>
Fri, 26 Oct 2012 11:49:58 +0000
(13:49 +0200)
Sorry!
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
htest/Test/Ganeti/THH.hs
patch
|
blob
|
history
diff --git
a/htest/Test/Ganeti/THH.hs
b/htest/Test/Ganeti/THH.hs
index
45c2b29
..
90f683c
100644
(file)
--- a/
htest/Test/Ganeti/THH.hs
+++ b/
htest/Test/Ganeti/THH.hs
@@
-46,7
+46,7
@@
import Test.Ganeti.TestCommon
-- | Type used to test optional field implementation. Equivalent to
-- @data TestObj = TestObj { tobjA :: Maybe Int, tobjB :: Maybe Int
-- }@.
-$(buildObject "TestObj" "tobj" $
+$(buildObject "TestObj" "tobj"
[ optionalField $ simpleField "a" [t| Int |]
, optionalNullSerField $ simpleField "b" [t| Int |]
])