Skip to content
This repository was archived by the owner on Jan 14, 2025. It is now read-only.

Commit 8e49095

Browse files
authored
populate the pubspec repository field (#39)
populate the pubspec repository field #39
1 parent c5202e3 commit 8e49095

File tree

5 files changed

+13
-6
lines changed

5 files changed

+13
-6
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
## 0.2.1-dev
2+
3+
- Use package:lints for analysis.
4+
- Populate the pubspec `repository` field.
5+
16
## 0.2.0
27

38
- Stable null safety release.

analysis_options.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
analyzer:
1+
include: package:lints/core.yaml
22

33
linter:
44
rules:

lib/test_reflective_loader.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ Future<Object?> _runTest(ClassMirror classMirror, Symbol symbol) {
278278
.whenComplete(() => _invokeSymbolIfExists(instanceMirror, #tearDown));
279279
}
280280

281-
typedef dynamic _TestFunction();
281+
typedef _TestFunction = dynamic Function();
282282

283283
/**
284284
* A marker annotation used to annotate test methods which are expected to fail.

pubspec.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
name: test_reflective_loader
2-
version: 0.2.0
3-
2+
version: 0.2.1-dev
43
description: Support for discovering tests and test suites using reflection.
5-
homepage: https://github.com/dart-lang/test_reflective_loader
4+
repository: https://github.com/dart-lang/test_reflective_loader
65

76
environment:
8-
sdk: '>=2.12.0-0 <3.0.0'
7+
sdk: '>=2.12.0 <3.0.0'
98

109
dependencies:
10+
lints: ^1.0.0
1111
test: '>=1.16.0 <2.0.0'

test/test_reflective_loader_test.dart

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
// for details. All rights reserved. Use of this source code is governed by a
33
// BSD-style license that can be found in the LICENSE file.
44

5+
// ignore_for_file: non_constant_identifier_names
6+
57
import 'dart:async';
68

79
import 'package:test/test.dart';

0 commit comments

Comments
 (0)