Skip to content

Commit

Permalink
test(integration_test): format the code
Browse files Browse the repository at this point in the history
Signed-off-by: Xiaoyang Liu <siujoeng.lau@gmail.com>
  • Loading branch information
Xiaoyang Liu committed Nov 17, 2023
1 parent 1d651a8 commit c0b1539
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/integration_test/src/tests/seccomp/mod.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
use oci_spec::runtime::{
Arch, LinuxBuilder, LinuxSeccomp, LinuxSeccompAction, LinuxSeccompBuilder, LinuxSyscallBuilder,
LinuxBuilder, LinuxSeccomp, LinuxSeccompAction, LinuxSeccompBuilder, LinuxSyscallBuilder,
ProcessBuilder, Spec, SpecBuilder,
};
use test_framework::{Test, TestGroup, TestResult};
Expand Down
4 changes: 3 additions & 1 deletion tests/runtimetest/src/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,9 @@ pub fn validate_seccomp(spec: &Spec) {
if linux.seccomp().is_some() {
if let Err(errno) = getcwd() {
if errno != Errno::EPERM {
eprintln!("'getcwd()' failed with unexpected error code '{errno}', expected 'EPERM'");
eprintln!(
"'getcwd()' failed with unexpected error code '{errno}', expected 'EPERM'"
);
}
} else {
eprintln!(
Expand Down

0 comments on commit c0b1539

Please # to comment.