Skip to content

Commit

Permalink
Fix attacks/stdoutbomb test
Browse files Browse the repository at this point in the history
  • Loading branch information
Defelo committed Dec 27, 2023
1 parent ca6b80a commit 0d5a2d9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/attacks.rs
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,8 @@ fn test_stdoutbomb() {
})
.unwrap();
assert_eq!(response.run.status, 137);
assert_eq!(response.run.stdout.len(), 2048);
assert_eq!(response.run.stderr.len(), 1024);
assert!(response.run.stdout.len() <= 2048);
assert!(response.run.stderr.len() <= 1024);
}

#[test]
Expand Down

0 comments on commit 0d5a2d9

Please sign in to comment.