Skip to content

Commit

Permalink
Dang it!
Browse files Browse the repository at this point in the history
Summary:
Sigh

My fix in D66359184 was partly wrong. It synced the *_include.hs files, which was correct. But it also changed back the changes in `TestData.hs` which it shouldn't have.

Reviewed By: simonmar

Differential Revision: D66364699

fbshipit-source-id: 58a21f44f48defa2bda80353785b916768d771ce
  • Loading branch information
Josef Svenningsson authored and facebook-github-bot committed Nov 22, 2024
1 parent 6aec4ef commit 62f2441
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions glean/test/lib/TestData.hs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ module TestData
) where

import Data.Default
import qualified Data.Set as Set

import Glean.Typed
import Glean.Types
Expand Down Expand Up @@ -44,8 +43,8 @@ kitchenSink1 = def
, Glean.Test.kitchenSink_bool_ = True
, Glean.Test.kitchenSink_string_ = "Hello\0world!\0"
, Glean.Test.kitchenSink_set_of_nat =
Set.fromList [toNat 65535, toNat 1, toNat 2 ]
, Glean.Test.kitchenSink_set_of_string = Set.fromList ["apa", "bepa"]
[toNat 65535, toNat 1, toNat 2 ]
, Glean.Test.kitchenSink_set_of_string = ["apa", "bepa"]
}

mkTestFacts :: NewFact m => (m () -> m ()) -> (m () -> m ()) -> m ()
Expand Down Expand Up @@ -108,7 +107,7 @@ mkTestFacts first second = do
, Glean.Test.kitchenSink_named_sum_ = Glean.Test.Sum_wed True
, Glean.Test.kitchenSink_named_record_ = rec
, Glean.Test.kitchenSink_maybe_ = Nothing
, Glean.Test.kitchenSink_set_of_pred = Set.fromList [kitchenSink2Fact0]
, Glean.Test.kitchenSink_set_of_pred = [kitchenSink2Fact0]
}

kitchenSink2Term1b = kitchenSink2Term1
Expand Down

0 comments on commit 62f2441

Please sign in to comment.