Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Replace [FinderBase] with [Finder] in the documentation of Matchers #168279

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions packages/flutter_test/lib/src/matchers.dart
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ import 'finders.dart';
import 'goldens.dart';
import 'widget_tester.dart' show WidgetTester;

/// Asserts that the [FinderBase] matches nothing in the available candidates.
/// Asserts that the [Finder] matches nothing in the available candidates.
///
/// ## Sample code
///
Expand Down Expand Up @@ -62,7 +62,7 @@ const Matcher findsNothing = _FindsCountMatcher(null, 0);
/// * [findsAtLeast], when you want the finder to find at least a specific number of candidates.
const Matcher findsWidgets = _FindsCountMatcher(1, null);

/// Asserts that the [FinderBase] locates at least one matching candidate.
/// Asserts that the [Finder] locates at least one matching candidate.
///
/// ## Sample code
///
Expand Down Expand Up @@ -96,7 +96,7 @@ const Matcher findsAny = _FindsCountMatcher(1, null);
/// * [findsAtLeast], when you want the finder to find at least a specific number of candidates.
const Matcher findsOneWidget = _FindsCountMatcher(1, 1);

/// Asserts that the [FinderBase] finds exactly one matching candidate.
/// Asserts that the [Finder] finds exactly one matching candidate.
///
/// ## Sample code
///
Expand Down Expand Up @@ -130,7 +130,7 @@ const Matcher findsOne = _FindsCountMatcher(1, 1);
/// * [findsAtLeast], when you want the finder to find at least a specific number of candidates.
Matcher findsNWidgets(int n) => _FindsCountMatcher(n, n);

/// Asserts that the [FinderBase] locates the specified number of candidates.
/// Asserts that the [Finder] locates the specified number of candidates.
///
/// ## Sample code
///
Expand Down Expand Up @@ -164,7 +164,7 @@ Matcher findsExactly(int n) => _FindsCountMatcher(n, n);
/// * [findsExactly], when you want the finder to find a specific number of candidates.
Matcher findsAtLeastNWidgets(int n) => _FindsCountMatcher(n, null);

/// Asserts that the [FinderBase] locates at least the given number of candidates.
/// Asserts that the [Finder] locates at least the given number of candidates.
///
/// ## Sample code
///
Expand Down