on master help sign in
Update test programs to respect new import requirements
commit745f1f67785cab924288da872a5681547adf39ce authorJonathan Daugherty <cygnus@foobox.com> dateSun 22 Jan 2017, 10:18 (10 years ago) parent35b7909
5 files changed+5−4
test/Verify/Graphics/Vty/Prelude.hs−3 test/VerifyEmptyImageProps.hs+1−1 test/VerifyLayersSpanGeneration.hs+1 test/VerifyUsingMockTerminal.hs+2 test/VerifyUtf8Width.hs+1
test/Verify/Graphics/Vty/Prelude.hs−3
@@ -1,12 +1,9 @@
11module Verify.Graphics.Vty.Prelude
22 ( module Verify.Graphics.Vty.Prelude
3− , module Graphics.Vty.Prelude
43 , MockWindow(..)
54 )
65where
76
8−import Graphics.Vty.Prelude
9−
107import Graphics.Vty.Debug
118
129import Verify
test/VerifyEmptyImageProps.hs+1−1
@@ -3,7 +3,7 @@ module VerifyEmptyImageProps where
33import Verify
44
55-- should be exported by Graphics.Vty.Picture
6−import Graphics.Vty.Picture ( Image, emptyImage )
6+import Graphics.Vty.Image ( Image, emptyImage )
77
88tests :: IO [Test]
99tests = do
test/VerifyLayersSpanGeneration.hs+1
@@ -4,6 +4,7 @@ module VerifyLayersSpanGeneration where
44
55import Verify.Graphics.Vty.Prelude
66
7+import Verify.Graphics.Vty.Attributes
78import Verify.Graphics.Vty.Image
89import Verify.Graphics.Vty.Picture
910import Verify.Graphics.Vty.Span
test/VerifyUsingMockTerminal.hs+2
@@ -4,9 +4,11 @@ import Verify.Graphics.Vty.Prelude
44
55import Verify.Graphics.Vty.Picture
66import Verify.Graphics.Vty.Image
7+import Verify.Graphics.Vty.Attributes
78import Verify.Graphics.Vty.Span
89import Verify.Graphics.Vty.Output
910import Graphics.Vty.Output
11+import Graphics.Vty.Output.Interface
1012import Graphics.Vty.Output.Mock
1113
1214import Graphics.Vty.Debug
test/VerifyUtf8Width.hs+1
@@ -5,6 +5,7 @@ import Verify
55import Graphics.Text.Width
66import Graphics.Vty.Attributes
77import Graphics.Vty.Picture
8+import Graphics.Vty.Image
89
910swIs1Column :: SingleColumnChar -> Bool
1011swIs1Column (SingleColumnChar c) = imageWidth (char defAttr c) == 1