Stops using "ex." to abbreviate "for example" (#827)

Signed-off-by: Adrian Cole <adrian@tetrate.io>
This commit is contained in:
Crypt Keeper
2022-10-24 10:51:48 +08:00
committed by GitHub
parent 1a9b174631
commit 1cbb496c26
43 changed files with 145 additions and 143 deletions

View File

@@ -20,7 +20,7 @@ func TestEncodeNameSectionData(t *testing.T) {
},
{
name: "only module",
// Ex. (module $simple )
// e.g. (module $simple )
input: &wasm.NameSection{ModuleName: "simple"},
expected: []byte{
subsectionIDModuleName, 0x07, // 7 bytes
@@ -50,7 +50,7 @@ func TestEncodeNameSectionData(t *testing.T) {
},
},
{
name: "two function names", // Ex. TinyGo which at one point didn't set a module name
name: "two function names", // e.g. TinyGo which at one point didn't set a module name
// (module
// (import "wasi_snapshot_preview1" "args_sizes_get" (func $wasi.args_sizes_get (param i32, i32) (result i32)))
// (import "wasi_snapshot_preview1" "fd_write" (func $wasi.fd_write (param i32, i32, i32, i32) (result i32)))