Skip to content

Commit 8a49a07

Browse files
committed
cargo fmt
1 parent bdefd6e commit 8a49a07

1 file changed

Lines changed: 16 additions & 13 deletions

File tree

mp4parse/tests/public.rs

Lines changed: 16 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1295,19 +1295,22 @@ fn public_avif_lsel_missing_essential() {
12951295
// feature) regardless of strictness.
12961296
#[test]
12971297
fn public_avif_lsel_no_layer_selection() {
1298-
for_strictness_result(AVIF_LSEL_LAYER_ID_FFFF, |_strictness, result| match result {
1299-
Ok(context) => {
1300-
assert!(
1301-
!context.unsupported_features.contains(mp4::Feature::Lsel),
1302-
"lsel with layer_id 0xffff should not be an unsupported feature"
1303-
);
1304-
assert!(
1305-
context.primary_item_coded_data().is_some(),
1306-
"primary item associated with an lsel of layer_id 0xffff should be decodable"
1307-
);
1308-
}
1309-
r => panic!("Expected Ok, found {:?}", r),
1310-
});
1298+
for_strictness_result(
1299+
AVIF_LSEL_LAYER_ID_FFFF,
1300+
|_strictness, result| match result {
1301+
Ok(context) => {
1302+
assert!(
1303+
!context.unsupported_features.contains(mp4::Feature::Lsel),
1304+
"lsel with layer_id 0xffff should not be an unsupported feature"
1305+
);
1306+
assert!(
1307+
context.primary_item_coded_data().is_some(),
1308+
"primary item associated with an lsel of layer_id 0xffff should be decodable"
1309+
);
1310+
}
1311+
r => panic!("Expected Ok, found {:?}", r),
1312+
},
1313+
);
13111314
}
13121315

13131316
#[test]

0 commit comments

Comments
 (0)