From ce9e7d948ec8e9cd473a3fa41cf1c04acd96d8d9 Mon Sep 17 00:00:00 2001 From: Alan Zimmerman Date: Sat, 6 Apr 2024 17:15:30 +0100 Subject: [PATCH] Update a transform test expected result --- tests/Test/Transform.hs | 3 +-- tests/examples/transform/AddDecl.hs.expected | 4 ++-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/tests/Test/Transform.hs b/tests/Test/Transform.hs index fd1216e7..9d22aeed 100644 --- a/tests/Test/Transform.hs +++ b/tests/Test/Transform.hs @@ -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 diff --git a/tests/examples/transform/AddDecl.hs.expected b/tests/examples/transform/AddDecl.hs.expected index 5e2e71b8..88ef0fdd 100644 --- a/tests/examples/transform/AddDecl.hs.expected +++ b/tests/examples/transform/AddDecl.hs.expected @@ -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