Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
mtb0x1 committed Dec 30, 2024
1 parent a663593 commit 800fb82
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions test/lit/metadce/functions_with_names_need_escape.wat
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@
;;@ a:1:2
;; TXT: (type $0 (func))

;; TXT: (export "f~!@#$%^&*()_+`-={}|[]\\:\";'<>?,./" (func $f))
;; TXT: (export "f" (func $f))

;; TXT: (func $f
;; TXT-NEXT: ;;@ a:7:8:someSymbol
;; TXT-NEXT: (nop)
;; TXT-NEXT: ;;@ a:9:10
;; TXT-NEXT: )
(func $f (export "f~!@#$%^&*()_+`-={}|[]\\:\";'<>?,./")
(func $f (export "f")
;;@ a:7:8:someSymbol
(nop)
;;@ a:9:10
Expand Down
6 changes: 3 additions & 3 deletions test/lit/metadce/functions_with_names_need_escape.wat.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
{
"name": "root",
"reaches": [
"f~!@#$%^&*()_+`-={}|[]\\:\";'<>?,./"
"f","f~!@#$%^&*()_+`-={}|[]\\:\";'<>?,./"
],
"root": true
},
{
"name": "f~!@#$%^&*()_+`-={}|[]\\:\";'<>?,./",
"export": "f~!@#$%^&*()_+`-={}|[]\\:\";'<>?,./"
"name": "f",
"export": "f"
}
]

0 comments on commit 800fb82

Please sign in to comment.