aboutsummaryrefslogtreecommitdiff
path: root/oracle
diff options
context:
space:
mode:
authorAlan Donovan <adonovan@google.com>2014-04-10 13:17:20 -0400
committerAlan Donovan <adonovan@google.com>2014-04-10 13:17:20 -0400
commitccb0e9ab885512d38196ba7f5aaebfb7a97ec9fa (patch)
treef3872bd4314fa2f619a3ad131553a43690519467 /oracle
parent3bca0c7d87c96206bd4abd5d33aad5851d9bd393 (diff)
downloadtools-ccb0e9ab885512d38196ba7f5aaebfb7a97ec9fa.tar.gz
go.tools/.hgignore: don't ignore test-generated files, clean them up.
(Includes rollback of CL 83680043.) LGTM=gri R=gri CC=golang-codereviews, rsc https://golang.org/cl/86430045
Diffstat (limited to 'oracle')
-rw-r--r--oracle/oracle_test.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/oracle/oracle_test.go b/oracle/oracle_test.go
index cd63398..9a0a7e4 100644
--- a/oracle/oracle_test.go
+++ b/oracle/oracle_test.go
@@ -234,6 +234,7 @@ func TestOracle(t *testing.T) {
continue
}
defer gotfh.Close()
+ defer os.Remove(got)
// Run the oracle on each query, redirecting its output
// and error (if any) to the foo.got file.