From b669db8516aed580768f67e7602726d322ddbbc5 Mon Sep 17 00:00:00 2001 From: microproofs Date: Sat, 4 May 2024 15:58:14 -0400 Subject: [PATCH] update tests --- examples/acceptance_tests/055/lib/tests.ak | 6 +++--- examples/acceptance_tests/068/lib/tests.ak | 6 ++---- examples/acceptance_tests/068/plutus.json | 6 +++++- 3 files changed, 10 insertions(+), 8 deletions(-) diff --git a/examples/acceptance_tests/055/lib/tests.ak b/examples/acceptance_tests/055/lib/tests.ak index 8b906a5e..eba79737 100644 --- a/examples/acceptance_tests/055/lib/tests.ak +++ b/examples/acceptance_tests/055/lib/tests.ak @@ -85,10 +85,10 @@ const bar = #"626172" fn fixture_1() { dict.new() - |> dict.insert(fooz, 42, bytearray.compare) - |> dict.insert(bar, 14, bytearray.compare) + |> dict.insert(fooz, 42) + |> dict.insert(bar, 14) } test union_1() { - dict.union(fixture_1(), dict.new(), bytearray.compare) == fixture_1() + dict.union(fixture_1(), dict.new()) == fixture_1() } diff --git a/examples/acceptance_tests/068/lib/tests.ak b/examples/acceptance_tests/068/lib/tests.ak index 3af1365d..6398dddf 100644 --- a/examples/acceptance_tests/068/lib/tests.ak +++ b/examples/acceptance_tests/068/lib/tests.ak @@ -24,9 +24,9 @@ pub fn from_asset( ) -> Value { let asset = dict.new() - |> dict.insert(asset_name, quantity, bytearray.compare) + |> dict.insert(asset_name, quantity) dict.new() - |> dict.insert(policy_id, asset, bytearray.compare) + |> dict.insert(policy_id, asset) |> Value } @@ -47,7 +47,6 @@ pub fn add(left v0: Value, right v1: Value) -> Value { Some(q) } }, - bytearray.compare, ) if dict.is_empty(result) { @@ -56,7 +55,6 @@ pub fn add(left v0: Value, right v1: Value) -> Value { Some(result) } }, - bytearray.compare, ) |> Value } diff --git a/examples/acceptance_tests/068/plutus.json b/examples/acceptance_tests/068/plutus.json index 051f63d3..0c8d332e 100644 --- a/examples/acceptance_tests/068/plutus.json +++ b/examples/acceptance_tests/068/plutus.json @@ -2,7 +2,11 @@ "preamble": { "title": "aiken-lang/acceptance_test_068", "version": "0.0.0", - "plutusVersion": "v2" + "plutusVersion": "v2", + "compiler": { + "name": "Aiken", + "version": "v1.0.26-alpha+a44ed4c" + } }, "validators": [] } \ No newline at end of file