This repository was archived by the owner on Jan 3, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 5 files changed +11
-19
lines changed Expand file tree Collapse file tree 5 files changed +11
-19
lines changed Original file line number Diff line number Diff line change 47
47
matrix :
48
48
# Add macos-latest and/or windows-latest if relevant for this package.
49
49
os : [ubuntu-latest]
50
- sdk : [2.17.0 , dev]
50
+ sdk : [3.1 , dev]
51
51
steps :
52
52
- uses : actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
53
53
- uses : dart-lang/setup-dart@b64355ae6ca0b5d484f0106a033dd1388965d06d
Original file line number Diff line number Diff line change
1
+ ## 2.1.1-wip
2
+
3
+ * Require Dart 3.1.
4
+
1
5
## 2.1.0
2
6
3
7
- Remove the expectation that the process exits during the normal test body.
Original file line number Diff line number Diff line change 1
- include : package:lints/recommended.yaml
1
+ # https://dart.dev/tools/analysis#the-analysis-options-file
2
+ include : package:dart_flutter_team_lints/analysis_options.yaml
2
3
3
4
analyzer :
4
5
language :
@@ -8,23 +9,11 @@ analyzer:
8
9
9
10
linter :
10
11
rules :
11
- - always_declare_return_types
12
12
- avoid_unused_constructor_parameters
13
13
- cancel_subscriptions
14
- - directives_ordering
15
- - lines_longer_than_80_chars
16
14
- literal_only_boolean_expressions
17
15
- missing_whitespace_between_adjacent_strings
18
16
- no_adjacent_strings_in_list
19
17
- no_runtimeType_toString
20
- - omit_local_variable_types
21
18
- package_api_docs
22
- - prefer_relative_imports
23
- - prefer_single_quotes
24
- - test_types_in_equals
25
- - throw_in_finally
26
- - type_annotate_public_apis
27
- - unawaited_futures
28
19
- unnecessary_await_in_return
29
- - unnecessary_lambdas
30
- - use_super_parameters
Original file line number Diff line number Diff line change 1
1
name : test_process
2
- version : 2.1.0
2
+ version : 2.1.1-wip
3
3
description :
4
4
" Test processes: starting; validating stdout and stderr; checking exit code"
5
5
repository : https://github.com/dart-lang/test_process
6
6
7
7
environment :
8
- sdk : " >=2.17.0 <3.0.0 "
8
+ sdk : ^3.1.0
9
9
10
10
dependencies :
11
11
async : ^2.5.0
@@ -14,5 +14,5 @@ dependencies:
14
14
test : ^1.16.0
15
15
16
16
dev_dependencies :
17
- lints : ^2.0.0
17
+ dart_flutter_team_lints : ^2.0.0
18
18
test_descriptor : ^2.0.0
Original file line number Diff line number Diff line change @@ -6,11 +6,10 @@ import 'dart:io';
6
6
7
7
import 'package:path/path.dart' as p;
8
8
import 'package:test/test.dart' ;
9
-
10
9
import 'package:test_descriptor/test_descriptor.dart' as d;
11
10
import 'package:test_process/test_process.dart' ;
12
11
13
- final throwsTestFailure = throwsA (TypeMatcher <TestFailure >());
12
+ final throwsTestFailure = throwsA (isA <TestFailure >());
14
13
15
14
void main () {
16
15
group ('shouldExit()' , () {
You can’t perform that action at this time.
0 commit comments