Skip to content
This repository has been archived by the owner on Feb 17, 2021. It is now read-only.

Commit

Permalink
internal/suggest: fix tests by using a temporary directory
Browse files Browse the repository at this point in the history
  • Loading branch information
stamblerre committed Nov 27, 2018
1 parent ace522f commit d613f6b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
2 changes: 1 addition & 1 deletion internal/suggest/suggest_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ func testRegress(t *testing.T, testDir string) {
return
}
} else if strings.HasSuffix(file.Name(), ".go.in") {
// Copy the test files to the temporary directory
// Copy the test files to the temporary directory and save information.
filename := filepath.Join(testDir, file.Name())
var err error
data, err = ioutil.ReadFile(filename)
Expand Down
5 changes: 0 additions & 5 deletions server.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,6 @@ package main
import (
"bytes"
"fmt"
<<<<<<< HEAD
=======
"go/build"
"go/importer"
>>>>>>> gocode: fix a bug with gbroot
"log"
"net"
"net/rpc"
Expand Down

0 comments on commit d613f6b

Please sign in to comment.