Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for nosuchpackage (0.18 sec)

  1. src/cmd/doc/doc_test.go

    		}
    	}
    	{
    		var flagSet flag.FlagSet
    		err := do(&b, &flagSet, []string{"nosuchpackage", "Foo"})
    		if err == nil {
    			// actually present in the user's filesystem
    		} else if !strings.Contains(err.Error(), "no such package") {
    			t.Errorf("unexpected error %q from nosuchpackage Foo", err)
    		}
    	}
    }
    
    // Test the code to look up packages when the first argument starts with "./".
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 07 19:16:55 UTC 2023
    - 31.2K bytes
    - Viewed (0)
Back to top