Skip to content

Commit 433caf5

Browse files
committed
Fix
1 parent 7bf6637 commit 433caf5

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

.github/workflows/cupertino.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ jobs:
6060
run: |
6161
cd example
6262
flutter pub get
63-
flutter test -d macos integration_test/main.dart --name "defaultSessionConfiguration local close close"
63+
flutter test -d macos integration_test/main.dart --name "defaultSessionConfiguration local close with code and reason"
6464
- name: Stop tcpdump
6565
if: failure()
6666
run: |

pkgs/web_socket_conformance_tests/lib/src/close_local_tests.dart

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,11 @@ void testCloseLocal(
131131
test('with code and reason', () async {
132132
final channel = await channelFactory(uri);
133133

134+
channel
135+
..sendText('Hello World')
136+
..sendText('Hello World 2')
137+
..sendText('Hello World 3');
138+
134139
await channel.close(3000, 'Client initiated closure');
135140
final closeCode = await httpServerQueue.next as int?;
136141
final closeReason = await httpServerQueue.next as String?;

0 commit comments

Comments
 (0)