Merge pull request #720 from rtfeldman/repeated-concat-test

Comment in repeated Str.concat test
This commit is contained in:
Richard Feldman 2020-11-21 14:58:35 -05:00 committed by GitHub
commit 97c42f8196
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -71,26 +71,29 @@ mod gen_str {
3, 3,
i64 i64
); );
}
// assert_evals_to!( #[test]
// indoc!( fn str_split_str_concat_repeated() {
// r#" assert_evals_to!(
// when List.first (Str.split "JJJJJ" "JJJJ there") is indoc!(
// Ok str -> r#"
// str when List.first (Str.split "JJJJJ" "JJJJ there") is
// |> Str.concat str Ok str ->
// |> Str.concat str str
// |> Str.concat str |> Str.concat str
// |> Str.concat str |> Str.concat str
// |> Str.concat str
// _ -> |> Str.concat str
// "Not Str!"
// _ ->
// "# "Not Str!"
// ),
// "JJJJJJJJJJJJJJJJJJJJJJJJJ", "#
// &'static str ),
// ); "JJJJJJJJJJJJJJJJJJJJJJJJJ",
&'static str
);
} }
#[test] #[test]