diff --git a/page_test.go b/page_test.go index bf767b1..8b05832 100755 --- a/page_test.go +++ b/page_test.go @@ -8,7 +8,9 @@ import ( ) func TestGeneral(t *testing.T) { - defer os.RemoveAll("data") + pathToData = "testdata" + os.MkdirAll(pathToData, 0755) + defer os.RemoveAll(pathToData) p := Open("testpage") err := p.Update("**bold**") if err != nil {