Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 35 for errors_test (0.21 sec)

  1. src/go/types/errors_test.go

    // Code generated by "go test -run=Generate -write=all"; DO NOT EDIT.
    // Source: ../../cmd/compile/internal/types2/errors_test.go
    
    // Copyright 2020 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package types
    
    import "testing"
    
    func TestError(t *testing.T) {
    	var err error_
    	want := "no error"
    	if got := err.msg(); got != want {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 18:48:38 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  2. src/errors/errors_test.go

    // Copyright 2011 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package errors_test
    
    import (
    	"errors"
    	"testing"
    )
    
    func TestNewEqual(t *testing.T) {
    	// Different allocations should not be equal.
    	if errors.New("abc") == errors.New("abc") {
    		t.Errorf(`New("abc") == New("abc")`)
    	}
    	if errors.New("abc") == errors.New("xyz") {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jan 20 21:55:10 UTC 2023
    - 765 bytes
    - Viewed (0)
  3. pkg/kubelet/cm/admission/errors_test.go

    Francesco Romani <******@****.***> 1620226228 +0200
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jul 08 21:15:37 UTC 2021
    - 1.8K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/admission/errors_test.go

    Joe Betz <******@****.***> 1557261427 -0700
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 17:49:43 UTC 2019
    - 1.7K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/endpoints/handlers/responsewriters/errors_test.go

    HaoJie Liu <******@****.***> 1661759120 +0800
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Aug 29 07:45:20 UTC 2022
    - 4.3K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apimachinery/pkg/api/meta/errors_test.go

    Alvaro Aleman <******@****.***> 1660254078 -0400
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Aug 11 22:50:51 UTC 2022
    - 2.4K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/types2/errors_test.go

    Robert Griesemer <******@****.***> 1708635832 -0800
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 23 21:21:43 UTC 2024
    - 979 bytes
    - Viewed (0)
  8. staging/src/k8s.io/apimachinery/pkg/util/errors/errors_test.go

    guiyong.ou <******@****.***> 1658668581 +0800
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Jul 24 13:16:21 UTC 2022
    - 12.7K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apimachinery/pkg/api/errors/errors_test.go

    AxeZhan <******@****.***> 1698295588 +0800
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Oct 28 07:31:28 UTC 2023
    - 19.5K bytes
    - Viewed (0)
  10. src/cmd/cgo/internal/testerrors/errors_test.go

    // Copyright 2017 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package errorstest
    
    import (
    	"bytes"
    	"fmt"
    	"internal/testenv"
    	"os"
    	"os/exec"
    	"path/filepath"
    	"regexp"
    	"strconv"
    	"strings"
    	"testing"
    )
    
    func path(file string) string {
    	return filepath.Join("testdata", file)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:50:06 UTC 2024
    - 4K bytes
    - Viewed (0)
Back to top