Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestSpuriousENOTAVAIL (0.25 sec)

  1. src/net/error_posix_test.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build !plan9
    
    package net
    
    import (
    	"os"
    	"syscall"
    	"testing"
    )
    
    func TestSpuriousENOTAVAIL(t *testing.T) {
    	for _, tt := range []struct {
    		error
    		ok bool
    	}{
    		{syscall.EADDRNOTAVAIL, true},
    		{&os.SyscallError{Syscall: "syscall", Err: syscall.EADDRNOTAVAIL}, true},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 981 bytes
    - Viewed (0)
Back to top