Skip to content

Commit

Permalink
samples: Update test expectations after AK HashTable changes
Browse files Browse the repository at this point in the history
  • Loading branch information
awesomekling committed Feb 18, 2023
1 parent 33385a8 commit f4bd913
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion samples/apps/json.jakt
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion samples/dictionaries/iterator.jakt
Original file line number Diff line number Diff line change
@@ -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]
Expand Down
2 changes: 1 addition & 1 deletion samples/sets/iterator.jakt
Original file line number Diff line number Diff line change
@@ -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}
Expand Down

0 comments on commit f4bd913

Please sign in to comment.