Fix a test that had a duplicate body with another

This commit is contained in:
Richard Feldman 2022-11-24 15:35:42 -05:00 committed by Ayaz Hafiz
parent cb7de132e5
commit de8da82ace
No known key found for this signature in database
GPG key ID: 0E2A37416A25EF58

View file

@ -472,11 +472,11 @@ fn optional_field_when_no_use_default_nested() {
assert_evals_to!(
indoc!(
r#"
f = \r ->
fn = \r ->
{ x ? 10, y } = r
x + y
f { x: 4, y: 9 }
fn { x: 4, y: 9 }
"#
),
13,
@ -1056,9 +1056,9 @@ fn update_record_that_is_a_thunk() {
app "test" provides [main] to "./platform"
main = Num.toStr fromOriginal.birds
original = { birds: 5, iguanas: 7, zebras: 2, goats: 1 }
fromOriginal = { original & birds: 4, iguanas: 3 }
"#
),
@ -1076,9 +1076,9 @@ fn update_record_that_is_a_thunk_single_field() {
app "test" provides [main] to "./platform"
main = Num.toStr fromOriginal.birds
original = { birds: 5 }
fromOriginal = { original & birds: 4 }
"#
),