Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
mxinden committed Mar 3, 2024
1 parent 5db3ca8 commit e4a401e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,11 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-14, windows-latest]
os: [windows-latest]
# Don't increase beyond what Firefox is currently using:
# https://firefox-source-docs.mozilla.org/writing-rust-code/update-policy.html#schedule
rust-toolchain: [1.74.0, stable, nightly]
type: [debug]
include:
- os: ubuntu-latest
rust-toolchain: stable
type: release
env:
BUILD_TYPE: ${{ matrix.type == 'release' && '--release' || '' }}
runs-on: ${{ matrix.os }}
Expand Down
4 changes: 2 additions & 2 deletions neqo-common/src/udp.rs
Original file line number Diff line number Diff line change
Expand Up @@ -198,11 +198,11 @@ mod tests {
let received_datagrams = receiver.recv(&receiver_addr).expect("receive to succeed");

assert_eq!(received_datagrams.len(), max_segments);
for datagram in received_datagrams {
for (i, datagram) in received_datagrams.into_iter().enumerate() {
assert_eq!(
SEGMENT_SIZE,
datagram.len(),
"Expect received datagram to have same length as sent datagram."
"Expect received datagram {i} to have same length as sent datagram."
);
}

Expand Down

0 comments on commit e4a401e

Please sign in to comment.