Gen Eq test for tuple

This commit is contained in:
Ayaz Hafiz 2023-03-22 10:55:15 -05:00
parent 143f39d273
commit 72c9b76f23
No known key found for this signature in database
GPG key ID: 0E2A37416A25EF58

View file

@ -1790,6 +1790,22 @@ mod eq {
use indoc::indoc;
use roc_std::RocStr;
#[test]
fn eq_tuple() {
assert_evals_to!(
indoc!(
r#"
app "test" provides [main] to "./platform"
main =
("a", "b") == ("a", "b")
"#
),
true,
bool
)
}
#[test]
fn custom_eq_impl() {
assert_evals_to!(