File tree Expand file tree Collapse file tree
pkgs/web_socket_conformance_tests/lib/src Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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 : |
Original file line number Diff line number Diff 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 ? ;
You can’t perform that action at this time.
0 commit comments