Skip to content
This repository has been archived by the owner on Aug 28, 2024. It is now read-only.

Commit

Permalink
update lints (#494)
Browse files Browse the repository at this point in the history
  • Loading branch information
kevmoo committed Jul 8, 2024
1 parent c07748f commit 044b7a2
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 12 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
strategy:
fail-fast: false
matrix:
sdk: [stable]
sdk: [dev]
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
- uses: dart-lang/setup-dart@0a8a0fc875eb934c15d08629302413c671d3f672
Expand All @@ -46,7 +46,7 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
sdk: [3.0.0, dev]
sdk: [3.4, dev]
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
- uses: dart-lang/setup-dart@0a8a0fc875eb934c15d08629302413c671d3f672
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 1.8.1-wip

- Require Dart ^3.4

## 1.8.0

- Copy collect_coverage's `--scope-output` flag to test_with_coverage.
Expand Down
12 changes: 6 additions & 6 deletions pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
name: coverage
version: 1.8.0
version: 1.8.1-wip
description: Coverage data manipulation and formatting
repository: https://github.com/dart-lang/coverage

environment:
sdk: ^3.0.0
sdk: ^3.4.0

dependencies:
args: ^2.0.0
Expand All @@ -17,10 +17,10 @@ dependencies:

dev_dependencies:
benchmark_harness: ^2.2.0
build_runner: ^2.1.10
dart_flutter_team_lints: ^2.0.0
mockito: ^5.3.2
test: ^1.16.0
build_runner: ^2.3.1
dart_flutter_team_lints: ^3.0.0
mockito: ^5.4.1
test: ^1.24.7
test_descriptor: ^2.0.0
test_process: ^2.0.0

Expand Down
4 changes: 2 additions & 2 deletions test/function_coverage_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@ void main() {
final testLibraryUri = p.toUri(testLibraryPath).toString();
expect(hitMap, contains(testLibraryUri));
final libraryfile = hitMap[testLibraryUri]!;
expect(libraryfile.funcHits, {9: 1});
expect(libraryfile.funcNames, {9: 'libraryFunction'});
expect(libraryfile.funcHits, {7: 1});
expect(libraryfile.funcNames, {7: 'libraryFunction'});

// test_library_part.dart.
final testLibraryPartPath =
Expand Down
2 changes: 0 additions & 2 deletions test/test_files/test_library.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
// 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.

library test_library;

part 'test_library_part.dart';

int libraryFunction() {
Expand Down

0 comments on commit 044b7a2

Please sign in to comment.