Skip to content
This repository has been archived by the owner on Jul 21, 2023. It is now read-only.

Commit

Permalink
Testing // coverage:ignore-start & ignore-end
Browse files Browse the repository at this point in the history
  • Loading branch information
MeixDev committed Feb 25, 2022
1 parent 55b125d commit 24d6c6b
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 7 deletions.
3 changes: 2 additions & 1 deletion lib/src/models/url_parser/custom_parser.dart
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,9 @@ import '../url_parse_exceptions.dart';

class CustomParser extends UrlParser {
const CustomParser()
// coverage:ignore-line
// coverage:ignore-start
: super(
// coverage:ignore-end
service: "Custom",
hosts: const ["*"],
);
Expand Down
3 changes: 2 additions & 1 deletion lib/src/models/url_parser/github_parser.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@ import 'url_parser.dart';

class GithubParser extends UrlParser {
const GithubParser()
// coverage:ignore-line
// coverage:ignore-start
: super(
// coverage:ignore-end
service: "GitHub",
hosts: const ["github.com", "www.github.com"],
pathSegments: const ["{user}"],
Expand Down
3 changes: 2 additions & 1 deletion lib/src/models/url_parser/gitlab_parser.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@ import 'url_parser.dart';

class GitlabParser extends UrlParser {
const GitlabParser()
// coverage:ignore-line
// coverage:ignore-start
: super(
// coverage:ignore-end
service: "GitLab",
hosts: const ["gitlab.com", "www.gitlab.com"],
pathSegments: const ["{user}"],
Expand Down
3 changes: 2 additions & 1 deletion lib/src/models/url_parser/linkedin_parser.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@ import 'url_parser.dart';

class LinkedInParser extends UrlParser {
const LinkedInParser()
// coverage:ignore-line
// coverage:ignore-start
: super(
// coverage:ignore-end
service: "LinkedIn",
hosts: const ["linkedin.com", "www.linkedin.com"],
pathSegments: const ["in", "{user}"],
Expand Down
3 changes: 2 additions & 1 deletion lib/src/models/url_parser/medium_parser.dart
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,9 @@ class MediumParser extends UrlParser {
/// for those who have, medium.com/@{user} will redirect
/// to their {user}.medium.com page.
const MediumParser()
// coverage:ignore-line
// coverage:ignore-start
: super(
// coverage:ignore-end
service: "Medium",
hosts: const ["medium.com", "{user}.medium.com", "www.medium.com"],
pathSegments: const ["{user}"],
Expand Down
3 changes: 2 additions & 1 deletion lib/src/models/url_parser/stack_overflow_parser.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@ import 'url_parser.dart';

class StackOverflowParser extends UrlParser {
const StackOverflowParser()
// coverage:ignore-line
// coverage:ignore-start
: super(
// coverage:ignore-end
service: "Stack Overflow",
hosts: const ["stackoverflow.com", "www.stackoverflow.com"],
pathSegments: const ["users", "{user}"],
Expand Down
3 changes: 2 additions & 1 deletion lib/src/models/url_parser/twitter_parser.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@ import 'url_parser.dart';

class TwitterParser extends UrlParser {
const TwitterParser()
// coverage:ignore-line
// coverage:ignore-start
: super(
// coverage:ignore-end
service: "Twitter",
hosts: const ["twitter.com", "www.twitter.com"],
pathSegments: const ["{user}"],
Expand Down

0 comments on commit 24d6c6b

Please sign in to comment.