Skip to content

Commit 0517413

Browse files
committed
fix: correct rustfmt formatting in error tests
1 parent 84045cd commit 0517413

2 files changed

Lines changed: 3 additions & 6 deletions

File tree

.claude/settings.local.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
"permissions": {
33
"allow": [
44
"Bash(jj new:*)",
5-
"Bash(jj describe:*)"
5+
"Bash(jj describe:*)",
6+
"Bash(gh run:*)"
67
]
78
}
89
}

src/error.rs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -418,11 +418,7 @@ mod tests {
418418
type_url: "type.googleapis.com/some.Unknown".to_string(),
419419
value: vec![1, 2, 3],
420420
};
421-
let status = status_with_details(
422-
tonic::Code::Internal,
423-
"with unknown",
424-
vec![unknown],
425-
);
421+
let status = status_with_details(tonic::Code::Internal, "with unknown", vec![unknown]);
426422
let err = Error::from_status(status);
427423
match &err {
428424
Error::Status { details, .. } => {

0 commit comments

Comments
 (0)