Skip to content

Commit db17cba

Browse files
committed
Update mmap_test.dart
1 parent 0f05637 commit db17cba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkgs/unix_api/test/mmap_test.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ void main() {
8282
final address = mmap(nullptr, 0, PROT_READ, MAP_SHARED, -1, 0);
8383

8484
expect(address, MAP_FAILED);
85-
expect(errno, anyOf([EINVAL, EBADF]);
85+
expect(errno, anyOf([EBADF, EINVAL]));
8686
});
8787

8888
test('mprotect success', () {

0 commit comments

Comments
 (0)