We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents e31a289 + 4c74f5f commit cbdf623Copy full SHA for cbdf623
1 file changed
test/Test/Property/TestListSet.flix
@@ -76,7 +76,10 @@ mod JonathanStarup.Test.Property.TestListSet {
76
pub def testInsertRedundant(): Bool \ IO = {
77
def prop(l) = {
78
let s1 = ListSet.fromIterable(l);
79
- let s2 = l |> List.head |> Option.map(hd -> ListSet.insert(hd, s1)) |> Option.getWithDefault(s1);
+ let s2 = l |>
80
+ List.head |>
81
+ Option.map(hd -> ListSet.insert(hd, s1)) |>
82
+ Option.getWithDefault(s1);
83
assertExpect(expect = s1, s2)
84
};
85
prop |> runTest(1_000, -6859625i64)
0 commit comments