File tree Expand file tree Collapse file tree 2 files changed +10
-10
lines changed Expand file tree Collapse file tree 2 files changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -43,19 +43,19 @@ test(() => {
43
43
44
44
test ( ( ) => {
45
45
assert_type ( { "value" : "externref" , "mutable" : true } )
46
- } , "anyref , mutable" )
46
+ } , "externref , mutable" )
47
47
48
48
test ( ( ) => {
49
49
assert_type ( { "value" : "externref" , "mutable" : false } )
50
- } , "anyref , immutable" )
50
+ } , "externref , immutable" )
51
51
52
52
test ( ( ) => {
53
- assert_type ( { "value" : "funcref " , "mutable" : true } )
54
- } , "funcref , mutable" )
53
+ assert_type ( { "value" : "anyfunc " , "mutable" : true } )
54
+ } , "anyfunc , mutable" )
55
55
56
56
test ( ( ) => {
57
- assert_type ( { "value" : "funcref " , "mutable" : false } )
58
- } , "funcref , immutable" )
57
+ assert_type ( { "value" : "anyfunc " , "mutable" : false } )
58
+ } , "anyfunc , immutable" )
59
59
60
60
test ( ( ) => {
61
61
const myglobal = new WebAssembly . Global ( { "value" : "i32" , "mutable" : true } ) ;
Original file line number Diff line number Diff line change @@ -10,17 +10,17 @@ function assert_type(argument) {
10
10
}
11
11
12
12
test ( ( ) => {
13
- assert_type ( { "minimum" : 0 , "element" : "funcref " } ) ;
13
+ assert_type ( { "minimum" : 0 , "element" : "anyfunc " } ) ;
14
14
} , "Zero initial, no maximum" ) ;
15
15
16
16
test ( ( ) => {
17
- assert_type ( { "minimum" : 5 , "element" : "funcref " } ) ;
17
+ assert_type ( { "minimum" : 5 , "element" : "anyfunc " } ) ;
18
18
} , "Non-zero initial, no maximum" ) ;
19
19
20
20
test ( ( ) => {
21
- assert_type ( { "minimum" : 0 , "maximum" : 0 , "element" : "funcref " } ) ;
21
+ assert_type ( { "minimum" : 0 , "maximum" : 0 , "element" : "anyfunc " } ) ;
22
22
} , "Zero maximum" ) ;
23
23
24
24
test ( ( ) => {
25
- assert_type ( { "minimum" : 0 , "maximum" : 5 , "element" : "funcref " } ) ;
25
+ assert_type ( { "minimum" : 0 , "maximum" : 5 , "element" : "anyfunc " } ) ;
26
26
} , "None-zero maximum" ) ;
You can’t perform that action at this time.
0 commit comments