Skip to content
This repository was archived by the owner on Jan 14, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
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
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
## 0.2.1-dev

- Use package:lints for analysis.
- Populate the pubspec `repository` field.

## 0.2.0

- Stable null safety release.
Expand Down
2 changes: 1 addition & 1 deletion analysis_options.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
analyzer:
include: package:lints/core.yaml

linter:
rules:
Expand Down
2 changes: 1 addition & 1 deletion lib/test_reflective_loader.dart
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ Future<Object?> _runTest(ClassMirror classMirror, Symbol symbol) {
.whenComplete(() => _invokeSymbolIfExists(instanceMirror, #tearDown));
}

typedef dynamic _TestFunction();
typedef _TestFunction = dynamic Function();

/**
* A marker annotation used to annotate test methods which are expected to fail.
Expand Down
8 changes: 4 additions & 4 deletions pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
name: test_reflective_loader
version: 0.2.0

version: 0.2.1-dev
description: Support for discovering tests and test suites using reflection.
homepage: https://github.com/dart-lang/test_reflective_loader
repository: https://github.com/dart-lang/test_reflective_loader

environment:
sdk: '>=2.12.0-0 <3.0.0'
sdk: '>=2.12.0 <3.0.0'

dependencies:
lints: ^1.0.0
test: '>=1.16.0 <2.0.0'
2 changes: 2 additions & 0 deletions test/test_reflective_loader_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.

// ignore_for_file: non_constant_identifier_names
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I cannot spot it, where is it reported?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think there were the method names of the TestReflectiveLoaderTest class.


import 'dart:async';

import 'package:test/test.dart';
Expand Down