Skip to content

Commit a67291d

Browse files
authored
Fix failing record kind test (#2366)
1 parent d9cb576 commit a67291d

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

dwds/test/instances/common/test_inspector.dart

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
// BSD-style license that can be found in the LICENSE file.
44

55
import 'package:test/test.dart';
6-
import 'package:test_common/utilities.dart';
76
import 'package:vm_service/vm_service.dart';
87

98
import '../../fixtures/context.dart';
@@ -255,11 +254,7 @@ Matcher matchRecordTypeInstanceRef({required int length}) => isA<InstanceRef>()
255254
.having(
256255
(e) => e.kind,
257256
'kind',
258-
// See https://github.com/dart-lang/sdk/commit/67e052d7e996be8ad9d02970117ffef07eab1c77.
259-
// TODO() Can't compare edge verisons, wait for this to get to a dev release.
260-
dartSdkIsAtLeast('3.4.0-edge.eeec4d36e3ea9b166da277a46f62d7d3b9ce645a')
261-
? InstanceKind.kType
262-
: InstanceKind.kRecordType,
257+
InstanceKind.kRecordType,
263258
)
264259
.having((e) => e.length, 'length', length)
265260
.having((e) => e.classRef!, 'classRef', matchRecordTypeClassRef);

0 commit comments

Comments
 (0)