Skip to content

Commit 027f6b0

Browse files
committed
fix tests
1 parent a2c9fe0 commit 027f6b0

File tree

1 file changed

+2
-2
lines changed
  • src/tools/jsondoclint/src/validator

1 file changed

+2
-2
lines changed

src/tools/jsondoclint/src/validator/tests.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ fn errors_on_missing_path() {
163163
sig: FunctionSignature {
164164
inputs: vec![],
165165
output: Some(Type::ResolvedPath(Path {
166-
name: "Bar".to_owned(),
166+
path: "Bar".to_owned(),
167167
id: Id(1),
168168
args: None,
169169
})),
@@ -191,7 +191,7 @@ fn errors_on_missing_path() {
191191

192192
check(&krate, &[Error {
193193
kind: ErrorKind::Custom(
194-
r#"No entry in '$.paths' for Path { name: "Bar", id: Id(1), args: None }"#.to_owned(),
194+
r#"No entry in '$.paths' for Path { path: "Bar", id: Id(1), args: None }"#.to_owned(),
195195
),
196196
id: Id(1),
197197
}]);

0 commit comments

Comments
 (0)