Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestDotSlashImport (0.12 sec)

  1. src/go/build/build_test.go

    	nomatch(runtime.GOOS+","+runtime.GOARCH+",bar", map[string]bool{runtime.GOOS: true, runtime.GOARCH: true, "bar": true})
    }
    
    func TestDotSlashImport(t *testing.T) {
    	p, err := ImportDir("testdata/other", 0)
    	if err != nil {
    		t.Fatal(err)
    	}
    	if len(p.Imports) != 1 || p.Imports[0] != "./file" {
    		t.Fatalf("testdata/other: Imports=%v, want [./file]", p.Imports)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 15 16:24:01 UTC 2023
    - 23.9K bytes
    - Viewed (0)
Back to top