Skip to content

Commit

Permalink
fix clippy errors
Browse files Browse the repository at this point in the history
  • Loading branch information
JR-1991 committed Dec 22, 2024
1 parent 351be79 commit 7f172f4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/bindings/python.rs
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ impl DataModel {
///
/// A string that represents the `DataModel` instance.
fn __repr__(&self) -> String {
self.model.sdrdm_schema()
self.model.internal_schema()
}

/// Converts the `DataModel` instance to a specified template format.
Expand Down
4 changes: 2 additions & 2 deletions tests/integration_tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,7 @@ mod tests {
let model = DataModel::from_markdown(path).expect("Could not parse markdown");

let validation = model
.validate_json(&Path::new("tests/data/invalid_dataset.json"), None)
.validate_json(Path::new("tests/data/invalid_dataset.json"), None)
.expect("Could not validate JSON");

assert_eq!(validation.len(), 13);
Expand All @@ -386,7 +386,7 @@ mod tests {
let model = DataModel::from_markdown(path).expect("Could not parse markdown");

let validation = model
.validate_json(&Path::new("tests/data/valid_dataset.json"), None)
.validate_json(Path::new("tests/data/valid_dataset.json"), None)
.expect("Could not validate JSON");

assert_eq!(validation.len(), 0);
Expand Down

0 comments on commit 7f172f4

Please sign in to comment.