Skip to content

Commit

Permalink
[test] Remove stray tabs from test files (#1745)
Browse files Browse the repository at this point in the history
  • Loading branch information
sbc100 authored Apr 24, 2024
1 parent e6afe0a commit beb8fb5
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 25 deletions.
10 changes: 5 additions & 5 deletions test/core/elem.wast
Original file line number Diff line number Diff line change
Expand Up @@ -644,11 +644,11 @@
;; Initializing a table with an externref-type element segment

(module $m
(table $t (export "table") 2 externref)
(func (export "get") (param $i i32) (result externref)
(table.get $t (local.get $i)))
(func (export "set") (param $i i32) (param $x externref)
(table.set $t (local.get $i) (local.get $x))))
(table $t (export "table") 2 externref)
(func (export "get") (param $i i32) (result externref)
(table.get $t (local.get $i)))
(func (export "set") (param $i i32) (param $x externref)
(table.set $t (local.get $i) (local.get $x))))

(register "exporter" $m)

Expand Down
40 changes: 20 additions & 20 deletions test/core/memory.wast
Original file line number Diff line number Diff line change
Expand Up @@ -136,44 +136,44 @@

;; Sign and zero extending memory loads
(func (export "i32_load8_s") (param $i i32) (result i32)
(i32.store8 (i32.const 8) (local.get $i))
(i32.load8_s (i32.const 8))
(i32.store8 (i32.const 8) (local.get $i))
(i32.load8_s (i32.const 8))
)
(func (export "i32_load8_u") (param $i i32) (result i32)
(i32.store8 (i32.const 8) (local.get $i))
(i32.load8_u (i32.const 8))
(i32.store8 (i32.const 8) (local.get $i))
(i32.load8_u (i32.const 8))
)
(func (export "i32_load16_s") (param $i i32) (result i32)
(i32.store16 (i32.const 8) (local.get $i))
(i32.load16_s (i32.const 8))
(i32.store16 (i32.const 8) (local.get $i))
(i32.load16_s (i32.const 8))
)
(func (export "i32_load16_u") (param $i i32) (result i32)
(i32.store16 (i32.const 8) (local.get $i))
(i32.load16_u (i32.const 8))
(i32.store16 (i32.const 8) (local.get $i))
(i32.load16_u (i32.const 8))
)
(func (export "i64_load8_s") (param $i i64) (result i64)
(i64.store8 (i32.const 8) (local.get $i))
(i64.load8_s (i32.const 8))
(i64.store8 (i32.const 8) (local.get $i))
(i64.load8_s (i32.const 8))
)
(func (export "i64_load8_u") (param $i i64) (result i64)
(i64.store8 (i32.const 8) (local.get $i))
(i64.load8_u (i32.const 8))
(i64.store8 (i32.const 8) (local.get $i))
(i64.load8_u (i32.const 8))
)
(func (export "i64_load16_s") (param $i i64) (result i64)
(i64.store16 (i32.const 8) (local.get $i))
(i64.load16_s (i32.const 8))
(i64.store16 (i32.const 8) (local.get $i))
(i64.load16_s (i32.const 8))
)
(func (export "i64_load16_u") (param $i i64) (result i64)
(i64.store16 (i32.const 8) (local.get $i))
(i64.load16_u (i32.const 8))
(i64.store16 (i32.const 8) (local.get $i))
(i64.load16_u (i32.const 8))
)
(func (export "i64_load32_s") (param $i i64) (result i64)
(i64.store32 (i32.const 8) (local.get $i))
(i64.load32_s (i32.const 8))
(i64.store32 (i32.const 8) (local.get $i))
(i64.load32_s (i32.const 8))
)
(func (export "i64_load32_u") (param $i i64) (result i64)
(i64.store32 (i32.const 8) (local.get $i))
(i64.load32_u (i32.const 8))
(i64.store32 (i32.const 8) (local.get $i))
(i64.load32_u (i32.const 8))
)
)

Expand Down

0 comments on commit beb8fb5

Please sign in to comment.