aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe/tests/json
diff options
context:
space:
mode:
Diffstat (limited to 'crates/shirabe/tests/json')
-rw-r--r--crates/shirabe/tests/json/json_file_test.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/shirabe/tests/json/json_file_test.rs b/crates/shirabe/tests/json/json_file_test.rs
index 14cb1e68..195c6918 100644
--- a/crates/shirabe/tests/json/json_file_test.rs
+++ b/crates/shirabe/tests/json/json_file_test.rs
@@ -402,7 +402,7 @@ fn test_custom_schema_validation_lax() {
)
.unwrap();
- let json = JsonFile::new(file.clone(), None, None).unwrap();
+ let json = JsonFile::new(file, None, None).unwrap();
json.validate_schema(JsonFile::LAX_SCHEMA, Some(&schema))
.unwrap();
@@ -422,7 +422,7 @@ fn test_custom_schema_validation_strict() {
)
.unwrap();
- let json = JsonFile::new(file.clone(), None, None).unwrap();
+ let json = JsonFile::new(file, None, None).unwrap();
json.validate_schema(JsonFile::STRICT_SCHEMA, Some(&schema))
.unwrap();