(s1, s2 []string)
| 563 | } |
| 564 | |
| 565 | func stringSlicesEqual(s1, s2 []string) bool { |
| 566 | // We can use slices.Equal once we drop support for Go 1.20 (it was added in |
| 567 | // Go 1.21). |
| 568 | if len(s1) != len(s2) { |
| 569 | return false |
| 570 | } |
| 571 | for i, s := range s1 { |
| 572 | if s != s2[i] { |
| 573 | return false |
| 574 | } |
| 575 | } |
| 576 | return true |
| 577 | } |
| 578 | |
| 579 | func TestWasmExport(t *testing.T) { |
| 580 | t.Parallel() |