1
0
mirror of https://github.com/golang/go synced 2024-11-18 12:54:44 -07:00
go/refactor/rename
Alex Brainman 2ef5a0d23b refactor/rename: make tests pass on windows (fixes build)
- use import path not file path in go/buildutil.FakeContext OpenFile;
- use regexp to compare error messages in TestErrors, because
  they contain windows file paths;
- use OS file path (not unix path), when checking move results
  in TestMoves.

Change-Id: Ib62d344acb551fb612d8a0773ae1ab5f18341294
Reviewed-on: https://go-review.googlesource.com/3171
Reviewed-by: Alan Donovan <adonovan@google.com>
2015-01-23 05:30:55 +00:00
..
check.go go/types: expose IsInterface predicate, eliminating 6 copies 2015-01-21 18:49:27 +00:00
mvpkg_test.go refactor/rename: make tests pass on windows (fixes build) 2015-01-23 05:30:55 +00:00
mvpkg.go cmd/mvpkg: a package moving tool 2015-01-14 17:37:29 +00:00
rename_test.go go/buildutil: FakeContext: create build.Context of fake file tree, for testing 2015-01-15 22:46:57 +00:00
rename.el refactor/rename: allow passing -force flag from Emacs 2015-01-20 22:08:13 +00:00
rename.go cmd/mvpkg: a package moving tool 2015-01-14 17:37:29 +00:00
spec.go cmd/gorename: make Usage documentation sensible in godoc 2014-12-30 16:36:43 +00:00
util.go astutil: move to go/ast/astutil 2015-01-13 15:47:47 +00:00