aboutsummaryrefslogtreecommitdiff
path: root/src/pkg/path/path_test.go
AgeCommit message (Collapse)Author
2014-09-08build: move package sources from src/pkg to srcRuss Cox
Preparation was in CL 134570043. This CL contains only the effect of 'hg mv src/pkg/* src'. For more about the move, see golang.org/s/go14nopkg.
2013-08-21all: protect alloc count tests by -testing.shortRob Pike
Update #5000 Should reduce the flakiness a little. Malloc counting is important to general testing but not to the build dashboard, which uses -short. R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/12866047
2013-03-06all: Skip AllocsPerRun tests if GOMAXPROCS>1.Albert Strasheim
Fixes #4974. R=rsc, bradfitz, r CC=golang-dev https://golang.org/cl/7545043
2013-02-02testing: add AllocsPerRunKyle Lemons
This CL also replaces similar loops in other stdlib package tests with calls to AllocsPerRun. Fixes #4461. R=minux.ma, rsc CC=golang-dev https://golang.org/cl/7002055
2012-12-01all: set GOMAXPROCS to 1 when counting mallocsShenghou Ma
also fix an annoying test that relies on $GOROOT be set. Fixes #3690. R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/6844086
2012-08-30path: improve documentation for DirRob Pike
R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/6495059
2012-06-27path/filepath: avoid allocation in Clean of cleaned pathRuss Cox
Alternative to https://golang.org/cl/6330044. Fixes #3681. R=golang-dev, r, hanwen, iant CC=golang-dev https://golang.org/cl/6335056
2011-12-22path: DirRob Pike
There was Base but not Dir, so fill in the gap. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/5504076
2011-03-06path/filepath: new OS-specific path supportGustavo Niemeyer
The path package now contains only functions which deal with slashed paths, sensible for any OS when dealing with network paths or URLs. OS-specific functionality has been moved into the new path/filepath package. This also includes fixes for godoc, goinstall and other packages which were mixing slashed and OS-specific paths. R=rsc, gri, mattn, brainman CC=golang-dev https://golang.org/cl/4252044
2011-01-31replace non-blocking send, receive syntax with selectRuss Cox
R=golang-dev, nigeltao, niemeyer, r CC=golang-dev https://golang.org/cl/4079053
2010-12-08path: fix printf glitch in testRob Pike
R=rh, gri CC=golang-dev https://golang.org/cl/3514041
2010-12-07throughout: fix broken calls to Printf etc.Rob Pike
I have written a tool to verify Printf calls, and although it's not ready to be reviewed yet it's already uncovered a spate of problems in the repository. I'm sending this CL to break the changes into pieces; as the tool improves it will find more, I'm sure. R=rsc CC=golang-dev https://golang.org/cl/3427043
2010-11-30path: Windows support for SplitBenny Siegert
Make Split work on backslashes as well as on slashes under Windows and support the "C:filename" special case. Also add corresponding tests. R=r, rsc, PeterGo, r2, brainman CC=golang-dev https://golang.org/cl/3008041
2010-10-22gofmt -s -w src miscRobert Griesemer
R=r, rsc CC=golang-dev https://golang.org/cl/2662041
2010-09-24... changesRuss Cox
R=golang-dev, gri CC=golang-dev https://golang.org/cl/2273042
2010-09-09path: add IsAbsIvan Krasin
R=rsc, imkrasin, r CC=golang-dev https://golang.org/cl/1969042
2010-06-09add path.Base, analogous to Unix basenameRob Pike
R=rsc CC=golang-dev https://golang.org/cl/1633042
2010-04-09rename os.Dir to os.FileInfoRob Pike
R=rsc CC=golang-dev https://golang.org/cl/902042
2010-02-05path: make Join variadicStephen Weinberg
R=rsc, r CC=golang-dev https://golang.org/cl/198049
2009-12-151) Change default gofmt default settings forRobert Griesemer
parsing and printing to new syntax. Use -oldparser to parse the old syntax, use -oldprinter to print the old syntax. 2) Change default gofmt formatting settings to use tabs for indentation only and to use spaces for alignment. This will make the code alignment insensitive to an editor's tabwidth. Use -spaces=false to use tabs for alignment. 3) Manually changed src/exp/parser/parser_test.go so that it doesn't try to parse the parser's source files using the old syntax (they have new syntax now). 4) gofmt -w src misc test/bench 4th set of files. R=rsc CC=golang-dev https://golang.org/cl/180049
2009-11-13path.TestWalk: disable error case if rootRuss Cox
(chmod 0 doesn't cause errors for root) Fixes #22. R=gri https://golang.org/cl/152120
2009-11-09remove semis after statements in one-statement statement listsRobert Griesemer
R=rsc, r http://go/go-review/1025029
2009-11-06- fine-tuning of one-line func heuristic (nodes.go)Robert Griesemer
- enabled for function declarations (not just function literals) - applied gofmt -w $GOROOT/src (look for instance at src/pkg/debug/elf/elf.go) R=r, rsc CC=go-dev http://go/go-review/1026006
2009-10-27files that are okay from the last gofmt roundRuss Cox
R=gri http://go/go-review/1015011
2009-10-19directory tree walk w/ visitor per rsc's suggestionRobert Griesemer
R=rsc,r DELTA=193 (191 added, 0 deleted, 2 changed) OCL=35849 CL=35877
2009-10-08more lgtm files from gofmtRuss Cox
R=gri OCL=35485 CL=35488
2009-09-15more "declared and not used".Russ Cox
the last round omitted := range and only checked 1 out of N vars in a multi-var := R=r OCL=34624 CL=34638
2009-08-12convert non-low-level non-google pkg codeRuss Cox
to whole-package compilation. R=r OCL=33070 CL=33101
2009-06-09mv src/lib to src/pkgRob Pike
tests: all.bash passes, gobuild still works, godoc still works. R=rsc OCL=30096 CL=30102