Skip to content

Commit 72f303a

Browse files
committed
fix identifiers
1 parent 37636b8 commit 72f303a

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

test/functional/Format.hs

+6-6
Original file line numberDiff line numberDiff line change
@@ -64,32 +64,32 @@ providerTests = testGroup "formatting provider" [
6464
documentContents doc >>= liftIO . (@?= formattedFloskell)
6565

6666
, testCase "can change on the fly" $ runSession hlsCommand fullCaps "test/testdata/format" $ do
67-
formattedBrittany <- liftIO $ T.readFile "test/testdata/format/Format.ormolu.formatted.hs"
67+
formattedOrmolu <- liftIO $ T.readFile "test/testdata/format/Format.ormolu.formatted.hs"
6868
formattedFloskell <- liftIO $ T.readFile "test/testdata/format/Format.floskell.formatted.hs"
69-
formattedBrittanyPostFloskell <- liftIO $ T.readFile "test/testdata/format/Format.ormolu_post_floskell.formatted.hs"
69+
formattedOrmoluPostFloskell <- liftIO $ T.readFile "test/testdata/format/Format.ormolu_post_floskell.formatted.hs"
7070

7171
doc <- openDoc "Format.hs" "haskell"
7272

7373
sendNotification SWorkspaceDidChangeConfiguration (DidChangeConfigurationParams (formatLspConfig "ormolu"))
7474
formatDoc doc (FormattingOptions 2 True Nothing Nothing Nothing)
75-
documentContents doc >>= liftIO . (@?= formattedBrittany)
75+
documentContents doc >>= liftIO . (@?= formattedOrmolu)
7676

7777
sendNotification SWorkspaceDidChangeConfiguration (DidChangeConfigurationParams (formatLspConfig "floskell"))
7878
formatDoc doc (FormattingOptions 2 True Nothing Nothing Nothing)
7979
documentContents doc >>= liftIO . (@?= formattedFloskell)
8080

8181
sendNotification SWorkspaceDidChangeConfiguration (DidChangeConfigurationParams (formatLspConfig "ormolu"))
8282
formatDoc doc (FormattingOptions 2 True Nothing Nothing Nothing)
83-
documentContents doc >>= liftIO . (@?= formattedBrittanyPostFloskell)
83+
documentContents doc >>= liftIO . (@?= formattedOrmoluPostFloskell)
8484
, testCase "supports both new and old configuration sections" $ runSession hlsCommand fullCaps "test/testdata/format" $ do
85-
formattedBrittany <- liftIO $ T.readFile "test/testdata/format/Format.ormolu.formatted.hs"
85+
formattedOrmolu <- liftIO $ T.readFile "test/testdata/format/Format.ormolu.formatted.hs"
8686
formattedFloskell <- liftIO $ T.readFile "test/testdata/format/Format.floskell.formatted.hs"
8787

8888
doc <- openDoc "Format.hs" "haskell"
8989

9090
sendNotification SWorkspaceDidChangeConfiguration (DidChangeConfigurationParams (formatLspConfigOld "ormolu"))
9191
formatDoc doc (FormattingOptions 2 True Nothing Nothing Nothing)
92-
documentContents doc >>= liftIO . (@?= formattedBrittany)
92+
documentContents doc >>= liftIO . (@?= formattedOrmolu)
9393

9494
sendNotification SWorkspaceDidChangeConfiguration (DidChangeConfigurationParams (formatLspConfigOld "floskell"))
9595
formatDoc doc (FormattingOptions 2 True Nothing Nothing Nothing)

0 commit comments

Comments
 (0)