From 03f5453297f6edbdc4b08c54d15fc95f903b1e37 Mon Sep 17 00:00:00 2001 From: Aaron Jacobs Date: Fri, 20 Mar 2015 10:46:20 +1100 Subject: [PATCH] Oops, use t.Ctx. --- samples/testing.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/testing.go b/samples/testing.go index cb0e831..e8e7e11 100644 --- a/samples/testing.go +++ b/samples/testing.go @@ -105,7 +105,7 @@ func (t *SampleTest) Destroy() { panic("MountedFileSystem.Unmount: " + err.Error()) } - if err := t.mfs.Join(context.Background()); err != nil { + if err := t.mfs.Join(t.Ctx); err != nil { panic("MountedFileSystem.Join: " + err.Error()) } }