1
0
mirror of https://github.com/golang/go synced 2024-11-18 09:04:49 -07:00
go/refactor
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
..
eg astutil: move to go/ast/astutil 2015-01-13 15:47:47 +00:00
importgraph go/ssa: change import path of synthetic test package to "test$main" 2015-01-21 22:21:01 +00:00
lexical tools: add import comments. 2014-12-09 22:42:16 +00:00
rename refactor/rename: make tests pass on windows (fixes build) 2015-01-23 05:30:55 +00:00
satisfy go/types: expose IsInterface predicate, eliminating 6 copies 2015-01-21 18:49:27 +00:00
README go.tools: use golang.org/x/... import paths 2014-11-10 08:50:40 +11:00

golang.org/x/tools/refactor: libraries for refactoring tools.