We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
.first()
.get(0)
1 parent 5c2f7d2 commit 10b735bCopy full SHA for 10b735b
testcontainers/src/runners/async_runner.rs
@@ -644,7 +644,7 @@ mod tests {
644
645
assert_eq!(
646
expected_capability,
647
- capabilities.get(0).expect("No capabilities added"),
+ capabilities.first().expect("No capabilities added"),
648
"cap_add must contain {expected_capability}"
649
);
650
@@ -671,7 +671,7 @@ mod tests {
671
672
673
674
- capabilities.get(0).expect("No capabilities dropped"),
+ capabilities.first().expect("No capabilities dropped"),
675
"cap_drop must contain {expected_capability}"
676
677
0 commit comments