Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Apply review comment
  • Loading branch information
JSUYA committed Mar 7, 2024
commit b59cb446903aa2e3350b2cfd99adcfcc8edac99b
8 changes: 2 additions & 6 deletions analysis_options.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
# Specify analysis options.
#
# This file is a copy of analysis_options.yaml from flutter repo
# as of 2023-12-18, but with some modifications marked with
# "DIFFERENT FROM FLUTTER/FLUTTER" below. The file is expected to
# be kept in sync with the master file from the flutter repo.
# This file is a copy of analysis_options.yaml from flutter/packages repo
# as of 2024-03-07.

analyzer:
language:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ void main() {

testWidgets('Create remote port', (WidgetTester tester) async {
final LocalPort localPort = await LocalPort.create(kTestPort);
localPort.register((dynamic message, [RemotePort? remotePort]) => () {});
localPort.register((dynamic message, [RemotePort? remotePort]) {});

final RemotePort remotePort =
await RemotePort.connect(kTestAppId, kTestPort);
Expand All @@ -40,7 +40,7 @@ void main() {
(WidgetTester tester) async {
final LocalPort localPort =
await LocalPort.create(kTestPort, trusted: false);
localPort.register((dynamic message, [RemotePort? remotePort]) => () {});
localPort.register((dynamic message, [RemotePort? remotePort]) {});

await expectLater(
() => RemotePort.connect(kTestAppId, kTestPort),
Expand All @@ -52,7 +52,7 @@ void main() {

testWidgets('Check for remote', (WidgetTester tester) async {
final LocalPort localPort = await LocalPort.create(kTestPort);
localPort.register((dynamic message, [RemotePort? remotePort]) => () {});
localPort.register((dynamic message, [RemotePort? remotePort]) {});

final RemotePort remotePort =
await RemotePort.connect(kTestAppId, kTestPort);
Expand Down