[dep] adapt tauri dep

This commit is contained in:
Purp1e
2025-11-04 23:33:36 +08:00
parent a5f5a2a5ff
commit 67b6c74907
6 changed files with 17 additions and 21 deletions

View File

@@ -75,7 +75,6 @@ fn build_vdf(json_value: &serde_json::Value, vdf_data: &mut String, indent_level
}
mod tests {
use super::*;
static VDF_DATA: &str = r#""users"
{
@@ -132,7 +131,7 @@ mod tests {
#[test]
fn test_to_json() {
// let expected_json = r#"{"key1": "value1","key2": "value2","subkey": {"key3": "value3"}}"#;
let json_data = to_json(VDF_DATA);
let json_data = super::to_json(VDF_DATA);
println!("{}", json_data);
// 解析json
@@ -145,7 +144,7 @@ mod tests {
#[test]
fn test_to_vdf() {
// let json_data = r#"{"key1": "value1","key2": "value2","subkey": {"key3": "value3"}}"#;
let vdf_data = to_vdf(JSON_DATA);
let vdf_data = super::to_vdf(JSON_DATA);
println!("{}", vdf_data);
}