hunk.code_window: 	err = os.Mkdir(pluginsDir, 0700)
   	if err != nil {
   		return "", errors.Wrapf(err, "failed to create plugins directory %s", pluginsDir)
   	}
   	err = setupConfig(path.Join(tempDir, "config"))
   	if err != nil {
   		return "", errors.Wrap(err, "failed to setup config")
   	}
  
hunk.labels: keep keep keep keep add keep keep keep keep keep
hunk.after_edit: 	clientDir := path.Join(tempDir, "client")
   	err = os.Mkdir(clientDir, 0700)
   	if err != nil {
   		return "", errors.Wrapf(err, "failed to create client directory %s", clientDir)
   	}
  
hunk.file_path: testlib/resources.go
hunk.type: add
file: // Copyright (c) 2017-present Mattermost, Inc. All Rights Reserved.
  // See License.txt for license information.
  
  package markdown_test
  
  import (
  	"testing"
  
  	"github.com/mattermost/mattermost-server/testlib"
  )
  
  var mainHelper *testlib.MainHelper
  
  func TestMain(m *testing.M) {
  	mainHelper = testlib.NewMainHelperWithOptions(nil)
  	defer mainHelper.Close()
  
  	mainHelper.Main(m)
  }
  