Remove single-argument function call special-case in formatter

Not sure what this special case was trying to achieve, but it's not right. There's no need to handle function call with a single argument differently than the others.
This commit is contained in:
KtorZ
2023-02-15 17:20:58 +01:00
parent 47e77aa819
commit 7251b2d01e
7 changed files with 91 additions and 66 deletions

View File

@@ -57,12 +57,12 @@ fn assert_first_output(output) {
fn assert_second_output(output) {
[
output.address.stake_credential == Some(
Inline(
VerificationKeyCredential(
#"66666666666666666666666666666666666666666666666666666666",
))
)
,
Inline(
VerificationKeyCredential(
#"66666666666666666666666666666666666666666666666666666666",
),
),
),
when output.datum is {
InlineDatum(_) -> True
_ -> error("expected inline datum")