Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for testReady (0.19 sec)

  1. internal/s3select/csv/reader_contrib_test.go

    package csv
    
    import (
    	"bytes"
    	"errors"
    	"fmt"
    	"io"
    	"os"
    	"reflect"
    	"strings"
    	"testing"
    
    	"github.com/klauspost/compress/zip"
    	"github.com/minio/minio/internal/s3select/sql"
    )
    
    func TestRead(t *testing.T) {
    	cases := []struct {
    		content         string
    		recordDelimiter string
    		fieldDelimiter  string
    	}{
    		{"1,2,3\na,b,c\n", "\n", ","},
    		{"1,2,3\ta,b,c\t", "\t", ","},
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Sep 19 18:05:16 GMT 2022
    - 38.5K bytes
    - Viewed (0)
  2. src/archive/tar/reader_test.go

    			testRemaining{5, 5},
    			testRead{5, "hello", io.EOF},
    			testRemaining{0, 0},
    		},
    	}, {
    		maker: makeReg{"hello, world", 50},
    		tests: []testFnc{
    			testRemaining{50, 50},
    			testRead{7, "hello, ", nil},
    			testRemaining{43, 43},
    			testRead{5, "world", nil},
    			testRemaining{38, 38},
    			testWriteTo{nil, 0, io.ErrUnexpectedEOF},
    			testRead{1, "", io.ErrUnexpectedEOF},
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Nov 21 21:14:38 GMT 2022
    - 47.1K bytes
    - Viewed (0)
Back to top