returnxerrors.Errorf("filepath: %q tries to write outside of plugin directory: %q. This can be a security risk.",zf.Name,path.Join(filePath,pluginName))
returnfmt.Errorf("filepath: %q tries to write outside of plugin directory: %q, this can be a security risk",
So(err.Error(),ShouldEqual,"Alert validation error: Neither id nor uid is specified in 'notifications' block, type assertion to string failed AlertId: 1 PanelId: 1 DashboardId: 1")
So(err.Error(),ShouldEqual,"alert validation error: Neither id nor uid is specified in 'notifications' block, type assertion to string failed AlertId: 1 PanelId: 1 DashboardId: 1")