Skip to content

Commit

Permalink
Update a transform test expected result
Browse files Browse the repository at this point in the history
  • Loading branch information
alanz committed Apr 6, 2024
1 parent 597f2cb commit ce9e7d9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions tests/Test/Transform.hs
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,7 @@ import Test.HUnit
transformTestsTT :: LibDir -> Test
transformTestsTT libdir = TestLabel "transformTestsTT" $ TestList
[
mkTestModChange libdir addLocaLDecl1 "AddLocalDecl1.hs"
, mkTestModChange libdir addLocaLDecl3 "AddLocalDecl3.hs"
mkTestModChange libdir changeWhereIn3a "WhereIn3a.hs"
]

transformTests :: LibDir -> Test
Expand Down
4 changes: 2 additions & 2 deletions tests/examples/transform/AddDecl.hs.expected
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
module AddDecl where

-- Adding a declaration to an existing file

nn = n2

-- Adding a declaration to an existing file

-- | Do foo
foo a b = a + b

Expand Down

0 comments on commit ce9e7d9

Please sign in to comment.