fix(plugin): 修复测试编译失败 — 补充 parse_manifest 导入
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
use crate::error::{PluginError, PluginResult};
|
use crate::error::PluginResult;
|
||||||
use crate::manifest::{parse_manifest, PluginManifest};
|
use crate::manifest::PluginManifest;
|
||||||
|
|
||||||
/// 插件上传时校验报告
|
/// 插件上传时校验报告
|
||||||
#[derive(Debug, Clone, serde::Serialize)]
|
#[derive(Debug, Clone, serde::Serialize)]
|
||||||
@@ -225,6 +225,7 @@ impl BenchmarkResult {
|
|||||||
#[cfg(test)]
|
#[cfg(test)]
|
||||||
mod tests {
|
mod tests {
|
||||||
use super::*;
|
use super::*;
|
||||||
|
use crate::manifest::parse_manifest;
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
fn validate_security_basic() {
|
fn validate_security_basic() {
|
||||||
|
|||||||
Reference in New Issue
Block a user