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

Commit ef934b7

Browse files
authored
Merge pull request #41 from pq/0.2.2
0.2.2
2 parents 8d0de01 + 1804465 commit ef934b7

File tree

4 files changed

+25
-12
lines changed

4 files changed

+25
-12
lines changed

.github/workflows/build.yaml

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,18 +9,25 @@ on:
99
# “At 00:00 (UTC) on Sunday.”
1010
- cron: '0 0 * * 0'
1111

12+
env:
13+
PUB_ENVIRONMENT: bot.github
14+
1215
jobs:
1316
build:
1417
runs-on: ubuntu-latest
15-
16-
container:
17-
image: google/dart:beta
18+
strategy:
19+
fail-fast: false
20+
matrix:
21+
sdk: [dev, stable]
1822

1923
steps:
2024
- uses: actions/checkout@v2
21-
25+
- uses: dart-lang/setup-dart@v1
26+
with:
27+
sdk: ${{ matrix.sdk }}
28+
2229
- name: pub get
23-
run: pub get
30+
run: dart pub get
2431

2532
- name: dart format
2633
run: dart format --output=none --set-exit-if-changed .

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 0.2.2
2+
3+
- Update to package:lints 2.0.0 and move it to a dev dependency.
4+
15
## 0.2.1
26

37
- Use package:lints for analysis.

lib/test_reflective_loader.dart

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,28 +13,28 @@ import 'package:test/test.dart' as test_package;
1313
* A marker annotation used to annotate test methods which are expected to fail
1414
* when asserts are enabled.
1515
*/
16-
const _AssertFailingTest assertFailingTest = _AssertFailingTest();
16+
const Object assertFailingTest = _AssertFailingTest();
1717

1818
/**
1919
* A marker annotation used to annotate test methods which are expected to fail.
2020
*/
21-
const FailingTest failingTest = FailingTest();
21+
const Object failingTest = FailingTest();
2222

2323
/**
2424
* A marker annotation used to instruct dart2js to keep reflection information
2525
* for the annotated classes.
2626
*/
27-
const _ReflectiveTest reflectiveTest = _ReflectiveTest();
27+
const Object reflectiveTest = _ReflectiveTest();
2828

2929
/**
3030
* A marker annotation used to annotate test methods that should be skipped.
3131
*/
32-
const SkippedTest skippedTest = SkippedTest();
32+
const Object skippedTest = SkippedTest();
3333

3434
/**
3535
* A marker annotation used to annotate "solo" groups and tests.
3636
*/
37-
const _SoloTest soloTest = _SoloTest();
37+
const Object soloTest = _SoloTest();
3838

3939
final List<_Group> _currentGroups = <_Group>[];
4040
int _currentSuiteLevel = 0;

pubspec.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
11
name: test_reflective_loader
2-
version: 0.2.1
2+
version: 0.2.2
33
description: Support for discovering tests and test suites using reflection.
44
repository: https://github.com/dart-lang/test_reflective_loader
55

66
environment:
77
sdk: '>=2.12.0 <3.0.0'
88

99
dependencies:
10-
lints: ^1.0.0
1110
test: ^1.16.0
11+
12+
dev_dependencies:
13+
lints: ^2.0.0

0 commit comments

Comments
 (0)