diff --git a/frb_example/pure_dart/test/api/pseudo_manual/dart_opaque_twin_rust_async_sse_test.dart b/frb_example/pure_dart/test/api/pseudo_manual/dart_opaque_twin_rust_async_sse_test.dart index 57ae369c06..f9ee647fce 100644 --- a/frb_example/pure_dart/test/api/pseudo_manual/dart_opaque_twin_rust_async_sse_test.dart +++ b/frb_example/pure_dart/test/api/pseudo_manual/dart_opaque_twin_rust_async_sse_test.dart @@ -26,7 +26,7 @@ Future main({bool skipRustLibInit = false}) async { var back2 = await loopBackTwinRustAsyncSse(opaque: back1) as String Function(); expect(back2(), 'Test_String'); - expect(identical(back2, f), isTrue); + if (!kIsWeb) expect(identical(back2, f), isTrue); }); test('drop', () async { diff --git a/frb_example/pure_dart/test/api/pseudo_manual/dart_opaque_twin_rust_async_test.dart b/frb_example/pure_dart/test/api/pseudo_manual/dart_opaque_twin_rust_async_test.dart index f7cdcde85a..08ddfd7af1 100644 --- a/frb_example/pure_dart/test/api/pseudo_manual/dart_opaque_twin_rust_async_test.dart +++ b/frb_example/pure_dart/test/api/pseudo_manual/dart_opaque_twin_rust_async_test.dart @@ -25,7 +25,7 @@ Future main({bool skipRustLibInit = false}) async { expect(back1(), 'Test_String'); var back2 = await loopBackTwinRustAsync(opaque: back1) as String Function(); expect(back2(), 'Test_String'); - expect(identical(back2, f), isTrue); + if (!kIsWeb) expect(identical(back2, f), isTrue); }); test('drop', () async { diff --git a/frb_example/pure_dart/test/api/pseudo_manual/dart_opaque_twin_sse_test.dart b/frb_example/pure_dart/test/api/pseudo_manual/dart_opaque_twin_sse_test.dart index 0cb72ca834..2828bb5f99 100644 --- a/frb_example/pure_dart/test/api/pseudo_manual/dart_opaque_twin_sse_test.dart +++ b/frb_example/pure_dart/test/api/pseudo_manual/dart_opaque_twin_sse_test.dart @@ -25,7 +25,7 @@ Future main({bool skipRustLibInit = false}) async { expect(back1(), 'Test_String'); var back2 = await loopBackTwinSse(opaque: back1) as String Function(); expect(back2(), 'Test_String'); - expect(identical(back2, f), isTrue); + if (!kIsWeb) expect(identical(back2, f), isTrue); }); test('drop', () async { diff --git a/frb_example/pure_dart/test/api/pseudo_manual/dart_opaque_twin_sync_sse_test.dart b/frb_example/pure_dart/test/api/pseudo_manual/dart_opaque_twin_sync_sse_test.dart index 327d7a7464..19babc2d64 100644 --- a/frb_example/pure_dart/test/api/pseudo_manual/dart_opaque_twin_sync_sse_test.dart +++ b/frb_example/pure_dart/test/api/pseudo_manual/dart_opaque_twin_sync_sse_test.dart @@ -25,7 +25,7 @@ Future main({bool skipRustLibInit = false}) async { expect(back1(), 'Test_String'); var back2 = await loopBackTwinSyncSse(opaque: back1) as String Function(); expect(back2(), 'Test_String'); - expect(identical(back2, f), isTrue); + if (!kIsWeb) expect(identical(back2, f), isTrue); }); test('drop', () async { diff --git a/frb_example/pure_dart/test/api/pseudo_manual/dart_opaque_twin_sync_test.dart b/frb_example/pure_dart/test/api/pseudo_manual/dart_opaque_twin_sync_test.dart index 717a81f88c..c555f79e03 100644 --- a/frb_example/pure_dart/test/api/pseudo_manual/dart_opaque_twin_sync_test.dart +++ b/frb_example/pure_dart/test/api/pseudo_manual/dart_opaque_twin_sync_test.dart @@ -25,7 +25,7 @@ Future main({bool skipRustLibInit = false}) async { expect(back1(), 'Test_String'); var back2 = await loopBackTwinSync(opaque: back1) as String Function(); expect(back2(), 'Test_String'); - expect(identical(back2, f), isTrue); + if (!kIsWeb) expect(identical(back2, f), isTrue); }); test('drop', () async { diff --git a/frb_example/pure_dart_pde/test/api/dart_opaque_test.dart b/frb_example/pure_dart_pde/test/api/dart_opaque_test.dart index 09a07de7c8..3db2a6d2e4 100644 --- a/frb_example/pure_dart_pde/test/api/dart_opaque_test.dart +++ b/frb_example/pure_dart_pde/test/api/dart_opaque_test.dart @@ -23,7 +23,7 @@ Future main({bool skipRustLibInit = false}) async { expect(back1(), 'Test_String'); var back2 = await loopBackTwinNormal(opaque: back1) as String Function(); expect(back2(), 'Test_String'); - expect(identical(back2, f), isTrue); + if (!kIsWeb) expect(identical(back2, f), isTrue); }); test('drop', () async { diff --git a/frb_example/pure_dart_pde/test/api/pseudo_manual/dart_opaque_twin_rust_async_test.dart b/frb_example/pure_dart_pde/test/api/pseudo_manual/dart_opaque_twin_rust_async_test.dart index 016fa07361..c0dd4dcda6 100644 --- a/frb_example/pure_dart_pde/test/api/pseudo_manual/dart_opaque_twin_rust_async_test.dart +++ b/frb_example/pure_dart_pde/test/api/pseudo_manual/dart_opaque_twin_rust_async_test.dart @@ -27,7 +27,7 @@ Future main({bool skipRustLibInit = false}) async { expect(back1(), 'Test_String'); var back2 = await loopBackTwinRustAsync(opaque: back1) as String Function(); expect(back2(), 'Test_String'); - expect(identical(back2, f), isTrue); + if (!kIsWeb) expect(identical(back2, f), isTrue); }); test('drop', () async { diff --git a/frb_example/pure_dart_pde/test/api/pseudo_manual/dart_opaque_twin_sync_test.dart b/frb_example/pure_dart_pde/test/api/pseudo_manual/dart_opaque_twin_sync_test.dart index 5a4c767aa0..fb3cd4b177 100644 --- a/frb_example/pure_dart_pde/test/api/pseudo_manual/dart_opaque_twin_sync_test.dart +++ b/frb_example/pure_dart_pde/test/api/pseudo_manual/dart_opaque_twin_sync_test.dart @@ -27,7 +27,7 @@ Future main({bool skipRustLibInit = false}) async { expect(back1(), 'Test_String'); var back2 = await loopBackTwinSync(opaque: back1) as String Function(); expect(back2(), 'Test_String'); - expect(identical(back2, f), isTrue); + if (!kIsWeb) expect(identical(back2, f), isTrue); }); test('drop', () async {