summaryrefslogtreecommitdiff
path: root/xdelta3/go/src/xdelta/run.go
diff options
context:
space:
mode:
Diffstat (limited to 'xdelta3/go/src/xdelta/run.go')
-rw-r--r--xdelta3/go/src/xdelta/run.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/xdelta3/go/src/xdelta/run.go b/xdelta3/go/src/xdelta/run.go
index 6523a1c..448fabe 100644
--- a/xdelta3/go/src/xdelta/run.go
+++ b/xdelta3/go/src/xdelta/run.go
@@ -55,7 +55,8 @@ func (r *Runner) RunTest(name string, f func (t *TestGroup)) {
55 c := make(chan interface{}) 55 c := make(chan interface{})
56 go func() { 56 go func() {
57 defer func() { 57 defer func() {
58 c <- recover() 58 rec := recover()
59 c <- rec
59 }() 60 }()
60 fmt.Println("Testing", name, "...") 61 fmt.Println("Testing", name, "...")
61 f(t) 62 f(t)