Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for netlinktest (0.46 sec)

  1. src/encoding/pem/pem_test.go

    // license that can be found in the LICENSE file.
    
    package pem
    
    import (
    	"bytes"
    	"io"
    	"reflect"
    	"strings"
    	"testing"
    	"testing/quick"
    )
    
    type GetLineTest struct {
    	in, out1, out2 string
    }
    
    var getLineTests = []GetLineTest{
    	{"abc", "abc", ""},
    	{"abc\r", "abc\r", ""},
    	{"abc\n", "abc", ""},
    	{"abc\r\n", "abc", ""},
    	{"abc\nd", "abc", "d"},
    	{"abc\r\nd", "abc", "d"},
    	{"\nabc", "", "abc"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 29 22:56:00 UTC 2022
    - 23.5K bytes
    - Viewed (0)
Back to top