Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestReadError (0.09 sec)

  1. src/internal/poll/error_test.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package poll_test
    
    import (
    	"fmt"
    	"io/fs"
    	"net"
    	"os"
    	"testing"
    	"time"
    )
    
    func TestReadError(t *testing.T) {
    	t.Run("ErrNotPollable", func(t *testing.T) {
    		f, err := badStateFile()
    		if err != nil {
    			t.Skip(err)
    		}
    		defer f.Close()
    
    		// Give scheduler a chance to have two separated
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 20 02:32:42 UTC 2020
    - 1K bytes
    - Viewed (0)
Back to top