Skip to content

fix: Fix the incorrect parameter order #2325

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion imports/assemblyscript/assemblyscript_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -295,9 +295,9 @@
var out bytes.Buffer

config := wazero.NewModuleConfig()
if strings.Contains("ToStderr", tc.name) {
if strings.Contains(tc.name), "ToStderr") {

Check failure on line 298 in imports/assemblyscript/assemblyscript_test.go

View workflow job for this annotation

GitHub Actions / riscv64, Linux (scratch), Go-1.21

expected 1 expression

Check failure on line 298 in imports/assemblyscript/assemblyscript_test.go

View workflow job for this annotation

GitHub Actions / amd64, Linux (scratch), Go-1.21

expected 1 expression

Check failure on line 298 in imports/assemblyscript/assemblyscript_test.go

View workflow job for this annotation

GitHub Actions / arm64, Linux (scratch), Go-1.21

expected 1 expression

Check failure on line 298 in imports/assemblyscript/assemblyscript_test.go

View workflow job for this annotation

GitHub Actions / riscv64, Linux (scratch), Go-1.23

expected 1 expression

Check failure on line 298 in imports/assemblyscript/assemblyscript_test.go

View workflow job for this annotation

GitHub Actions / amd64, Linux (scratch), Go-1.23

expected 1 expression

Check failure on line 298 in imports/assemblyscript/assemblyscript_test.go

View workflow job for this annotation

GitHub Actions / arm64, Linux (scratch), Go-1.23

expected 1 expression

Check failure on line 298 in imports/assemblyscript/assemblyscript_test.go

View workflow job for this annotation

GitHub Actions / amd64, ubuntu-22.04, Go-1.21

expected 1 expression

Check failure on line 298 in imports/assemblyscript/assemblyscript_test.go

View workflow job for this annotation

GitHub Actions / arm64, macos-14, Go-1.23

expected 1 expression

Check failure on line 298 in imports/assemblyscript/assemblyscript_test.go

View workflow job for this annotation

GitHub Actions / arm64, macos-14, Go-1.21

expected 1 expression

Check failure on line 298 in imports/assemblyscript/assemblyscript_test.go

View workflow job for this annotation

GitHub Actions / amd64, ubuntu-22.04, Go-1.23

expected 1 expression

Check failure on line 298 in imports/assemblyscript/assemblyscript_test.go

View workflow job for this annotation

GitHub Actions / amd64, windows-2022, Go-1.23

expected 1 expression

Check failure on line 298 in imports/assemblyscript/assemblyscript_test.go

View workflow job for this annotation

GitHub Actions / Pre-commit check

syntax error: unexpected ), expected := or = or comma

Check failure on line 298 in imports/assemblyscript/assemblyscript_test.go

View workflow job for this annotation

GitHub Actions / Pre-commit check

expected 1 expression (typecheck)

Check failure on line 298 in imports/assemblyscript/assemblyscript_test.go

View workflow job for this annotation

GitHub Actions / Pre-commit check

syntax error: unexpected ), expected := or = or comma

Check failure on line 298 in imports/assemblyscript/assemblyscript_test.go

View workflow job for this annotation

GitHub Actions / amd64, windows-2022, Go-1.21

expected 1 expression
config = config.WithStderr(&out)
} else {

Check failure on line 300 in imports/assemblyscript/assemblyscript_test.go

View workflow job for this annotation

GitHub Actions / Pre-commit check

syntax error: unexpected }, expected expression (typecheck)

Check failure on line 300 in imports/assemblyscript/assemblyscript_test.go

View workflow job for this annotation

GitHub Actions / Pre-commit check

syntax error: unexpected }, expected expression) (typecheck)
config = config.WithStdout(&out)
}
if tc.outErr {
Expand Down
Loading