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
parent e9ee62b2c2
commit 2cdb4fa10c
No known key found for this signature in database
GPG key ID: F1F21AA5B1D9E43B

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 }
"#
),