Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestJoinReturnsNil (0.39 sec)

  1. src/errors/join_test.go

    // 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"
    	"reflect"
    	"testing"
    )
    
    func TestJoinReturnsNil(t *testing.T) {
    	if err := errors.Join(); err != nil {
    		t.Errorf("errors.Join() = %v, want nil", err)
    	}
    	if err := errors.Join(nil); err != nil {
    		t.Errorf("errors.Join(nil) = %v, want nil", err)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 17 21:48:12 UTC 2022
    - 1.7K bytes
    - Viewed (0)
Back to top