- Sort Score
- Result 10 results
- Languages All
Results 11 - 12 of 12 for testfunc0 (0.39 sec)
-
src/syscall/js/js_test.go
t.Errorf("got %v, want %v", got, 42) } } func TestZeroValue(t *testing.T) { var v js.Value if !v.IsUndefined() { t.Error("zero js.Value is not js.Undefined()") } } func TestFuncOf(t *testing.T) { c := make(chan struct{}) cb := js.FuncOf(func(this js.Value, args []js.Value) any { if got := args[0].Int(); got != 42 { t.Errorf("got %#v, want %#v", got, 42) } c <- struct{}{}
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 19 14:35:26 UTC 2024 - 17.7K bytes - Viewed (0) -
src/path/filepath/path_windows_test.go
if err != nil { t.Errorf("toNorm(%s) failed: %v (wd=%s)\n", arg, err, wd) } else if got != want { t.Errorf("toNorm(%s) returns %s, but %s expected (wd=%s)\n", arg, got, want, wd) } } } func TestUNC(t *testing.T) { // Test that this doesn't go into an infinite recursion. // See golang.org/issue/15879. defer debug.SetMaxStack(debug.SetMaxStack(1e6)) filepath.Glob(`\\?\c:\*`) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 04 20:38:54 UTC 2024 - 19.6K bytes - Viewed (0)