Comments (2)
Are you sure you're using version 0.7.8? The stack trace you have suggests the version of format_coverage
you're running doesn't have that option, and the call site for parseArgs()
doesn't match the line number for version 0.7.8.
Your stack trace shows the call to parseArgs()
at format_coverage.dart:115
, but the call site as of version 0.7.8 is at line 120. Line 115 was the line number for the call at version 0.7.7.
Out of paranoia, I grabbed the published tarballs for 0.7.8, 0.7.8+1, 0.7.8+2 and all three appear to have the call site at line 120.
Can you do two things:
- Take a look at your
pubspec.yaml
in and verify it says 0.7.8. - If you originally installed using
pub global activate
, can you pub global deactivate thenpub global activate
again?
from coverage.
Oops, sorry. Just checked - pub global activate coverage
actually installed 0.7.7 version. Deactivating and activating it installs 0.7.7 anyway.
from coverage.
Related Issues (20)
- Enhanced enums in Flutter don't get covered HOT 1
- Function inside function HOT 3
- Add a benchmark to github CI HOT 1
- Which license is used in this project? HOT 1
- Speed up --function-coverage
- Filter files using a command line flag HOT 6
- Running coverage in new flutter project HOT 1
- --test param throws error when args are added (--test="test --concurrency=1") HOT 1
- incorrect branch and line coverage with const values HOT 1
- Add `--fail-under` option
- LCOV relative paths HOT 1
- No Coverage Generated
- Fix BRDA syntax in lcov files HOT 3
- Enable firehose for publishing from GitHub actions
- Clean up old SDK/VmService checks
- Tests with `Isolate.run` pause indefinitely. HOT 6
- Ignore like `// coverage:ignore-start` does not work HOT 1
- bug: `format_coverage` does now work when invoked with `dart pub global run`
- cover code for kIsWeb condition true and false both cases
- Test coverage doesn't work when using pattern matching to destructure a record HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from coverage.