diff --git a/README.md b/README.md index d77a980..0ef6efe 100644 --- a/README.md +++ b/README.md @@ -542,8 +542,8 @@ The code has been updated to support compiler: ```bash $ moon version --all -moon 0.1.20240809 (e6f8c24 2024-08-09) ~/.moon/bin/moon -moonc v0.1.20240809+5c355ddde ~/.moon/bin/moonc +moon 0.1.20240813 (8b14470 2024-08-13) ~/.moon/bin/moon +moonc v0.1.20240813+4025fe3de ~/.moon/bin/moonc moonrun 0.1.20240716 (08bce9c 2024-07-16) ~/.moon/bin/moonrun ``` diff --git a/examples/count-vowels/count-vowels_wbtest.mbt b/examples/count-vowels/count-vowels_wbtest.mbt index d052bf9..1f545c4 100644 --- a/examples/count-vowels/count-vowels_wbtest.mbt +++ b/examples/count-vowels/count-vowels_wbtest.mbt @@ -4,5 +4,5 @@ test "to_json" { |> @jsonutil.stringify(spaces=0, newline=false) let want = #|{"count":1,"total":2,"vowels":"some string"} - @test.eq!(got, want) + assert_eq!(got, want) } diff --git a/moon.mod.json b/moon.mod.json index 96eb531..5fb5da9 100644 --- a/moon.mod.json +++ b/moon.mod.json @@ -1,6 +1,6 @@ { "name": "extism/moonbit-pdk", - "version": "0.33.0", + "version": "0.34.0", "deps": { "gmlewis/jsonutil": "0.22.0" }, diff --git a/pdk/http/header.mbt b/pdk/http/header.mbt index 0753eea..d062875 100644 --- a/pdk/http/header.mbt +++ b/pdk/http/header.mbt @@ -36,7 +36,7 @@ test "add" { h.add("key2", "one") h.add("key2", "two") h.add("key2", "two") - @test.eq!(h.0.get("nokey"), None) - @test.eq!(h.0.get("key1"), Some("one")) - @test.eq!(h.0.get("key2"), Some("one,two,two")) + assert_eq!(h.0.get("nokey"), None) + assert_eq!(h.0.get("key1"), Some("one")) + assert_eq!(h.0.get("key2"), Some("one,two,two")) }