From f4bd9137d2eb6d833b98b527de8b88e50bfad361 Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Sat, 18 Feb 2023 12:41:54 +0100 Subject: [PATCH] samples: Update test expectations after AK HashTable changes --- samples/apps/json.jakt | 2 +- samples/dictionaries/iterator.jakt | 2 +- samples/sets/iterator.jakt | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/samples/apps/json.jakt b/samples/apps/json.jakt index 5242a7cdc..8d8a51339 100644 --- a/samples/apps/json.jakt +++ b/samples/apps/json.jakt @@ -1,5 +1,5 @@ /// Expect: -/// - output: "JsonValue::JsonArray([JsonValue::Object([\"states\": JsonValue::JsonArray([]), \"name\": JsonValue::JsonString(\"air\"), \"maxStateId\": JsonValue::Number(0), \"minStateId\": JsonValue::Number(0), \"resistance\": JsonValue::Number(0), \"id\": JsonValue::Number(0.5), \"hardness\": JsonValue::Number(3.9), \"displayName\": JsonValue::JsonString(\"Air\")])])\n" +/// - output: "JsonValue::JsonArray([JsonValue::Object([\"name\": JsonValue::JsonString(\"air\"), \"states\": JsonValue::JsonArray([]), \"maxStateId\": JsonValue::Number(0), \"minStateId\": JsonValue::Number(0), \"resistance\": JsonValue::Number(0), \"id\": JsonValue::Number(0.5), \"hardness\": JsonValue::Number(3.9), \"displayName\": JsonValue::JsonString(\"Air\")])])\n" enum JsonValue { Null diff --git a/samples/dictionaries/iterator.jakt b/samples/dictionaries/iterator.jakt index de8a06c1d..e1c2d6efe 100644 --- a/samples/dictionaries/iterator.jakt +++ b/samples/dictionaries/iterator.jakt @@ -1,5 +1,5 @@ /// Expect: -/// - output: "hello: 2\nwell: 1\nfriends: 3\n" +/// - output: "well: 1\nhello: 2\nfriends: 3\n" fn main() { let dictionary = ["well": 1, "hello": 2, "friends": 3] diff --git a/samples/sets/iterator.jakt b/samples/sets/iterator.jakt index cf030a33a..3f35d4c78 100644 --- a/samples/sets/iterator.jakt +++ b/samples/sets/iterator.jakt @@ -1,5 +1,5 @@ /// Expect: -/// - output: "1\n2\n4\n3\n" +/// - output: "1\n4\n2\n3\n" fn main() { let set = {1, 2, 3, 4}