diff --git a/dwds/test/instances/common/test_inspector.dart b/dwds/test/instances/common/test_inspector.dart index f14dd10fa..f6051ed6a 100644 --- a/dwds/test/instances/common/test_inspector.dart +++ b/dwds/test/instances/common/test_inspector.dart @@ -382,7 +382,6 @@ Object? _getValue(InstanceRef instanceRef) { final _dartCoreLibrary = 'dart:core'; final _dartInterceptorsLibrary = 'dart:_interceptors'; final _dartJsHelperLibrary = 'dart:_js_helper'; -final _dartCollectionLibrary = 'dart:collection'; final _dartRuntimeLibrary = 'dart:_runtime'; final matchRecordClassName = 'Record'; diff --git a/dwds/test/instances/common/type_inspection_common.dart b/dwds/test/instances/common/type_inspection_common.dart index 8beb91be2..e1bdccbbf 100644 --- a/dwds/test/instances/common/type_inspection_common.dart +++ b/dwds/test/instances/common/type_inspection_common.dart @@ -247,11 +247,11 @@ void runTests({ await onBreakPoint('printSimpleLocalRecord', (event) async { final frame = event.topFrame!.index!; final instanceRef = await getInstanceRef(frame, '{}.runtimeType'); - expect(instanceRef, matchTypeInstanceRef('_IdentityHashSet')); + expect(instanceRef, matchTypeInstanceRef('IdentitySet')); final instanceId = instanceRef.id!; final instance = await getObject(instanceId); - expect(instance, matchTypeInstance('_IdentityHashSet')); + expect(instance, matchTypeInstance('IdentitySet')); final classId = instanceRef.classRef!.id; expect(await getObject(classId), matchTypeClass);