Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(769)

Unified Diff: pkg/analyzer/test/src/summary/name_filter_test.dart

Issue 1842563003: Format everything in analyzer (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « pkg/analyzer/test/resource_utils.dart ('k') | pkg/analyzer/test/src/task/strong/checker_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analyzer/test/src/summary/name_filter_test.dart
diff --git a/pkg/analyzer/test/src/summary/name_filter_test.dart b/pkg/analyzer/test/src/summary/name_filter_test.dart
index 5f5ca4f41d96f6222ab1e517a2f5896c1dbbf61e..3646720c9ea43ce37af62e7e129d4a15376e2032 100644
--- a/pkg/analyzer/test/src/summary/name_filter_test.dart
+++ b/pkg/analyzer/test/src/summary/name_filter_test.dart
@@ -113,8 +113,8 @@ class NameFilterTest {
test_merge_hides_hides() {
NameFilter filter = new NameFilter.forUnlinkedCombinator(
- new UnlinkedCombinatorBuilder(hides: ['foo'])).merge(
- new NameFilter.forUnlinkedCombinator(
+ new UnlinkedCombinatorBuilder(hides: ['foo']))
+ .merge(new NameFilter.forUnlinkedCombinator(
new UnlinkedCombinatorBuilder(hides: ['bar'])));
expect(filter.accepts('foo'), isFalse);
expect(filter.accepts('bar'), isFalse);
@@ -138,8 +138,8 @@ class NameFilterTest {
test_merge_hides_shows() {
NameFilter filter = new NameFilter.forUnlinkedCombinator(
- new UnlinkedCombinatorBuilder(hides: ['bar', 'baz'])).merge(
- new NameFilter.forUnlinkedCombinator(
+ new UnlinkedCombinatorBuilder(hides: ['bar', 'baz']))
+ .merge(new NameFilter.forUnlinkedCombinator(
new UnlinkedCombinatorBuilder(shows: ['foo', 'bar'])));
expect(filter.accepts('foo'), isTrue);
expect(filter.accepts('bar'), isFalse);
@@ -183,8 +183,8 @@ class NameFilterTest {
test_merge_shows_hides() {
NameFilter filter = new NameFilter.forUnlinkedCombinator(
- new UnlinkedCombinatorBuilder(shows: ['foo', 'bar'])).merge(
- new NameFilter.forUnlinkedCombinator(
+ new UnlinkedCombinatorBuilder(shows: ['foo', 'bar']))
+ .merge(new NameFilter.forUnlinkedCombinator(
new UnlinkedCombinatorBuilder(hides: ['bar', 'baz'])));
expect(filter.accepts('foo'), isTrue);
expect(filter.accepts('bar'), isFalse);
@@ -208,8 +208,8 @@ class NameFilterTest {
test_merge_shows_shows() {
NameFilter filter = new NameFilter.forUnlinkedCombinator(
- new UnlinkedCombinatorBuilder(shows: ['foo', 'bar'])).merge(
- new NameFilter.forUnlinkedCombinator(
+ new UnlinkedCombinatorBuilder(shows: ['foo', 'bar']))
+ .merge(new NameFilter.forUnlinkedCombinator(
new UnlinkedCombinatorBuilder(shows: ['bar', 'baz'])));
expect(filter.accepts('foo'), isFalse);
expect(filter.accepts('bar'), isTrue);
@@ -221,8 +221,8 @@ class NameFilterTest {
test_merge_shows_shows_emptyResult() {
NameFilter filter = new NameFilter.forUnlinkedCombinator(
- new UnlinkedCombinatorBuilder(shows: ['foo'])).merge(
- new NameFilter.forUnlinkedCombinator(
+ new UnlinkedCombinatorBuilder(shows: ['foo']))
+ .merge(new NameFilter.forUnlinkedCombinator(
new UnlinkedCombinatorBuilder(shows: ['bar'])));
expect(filter.accepts('foo'), isFalse);
expect(filter.accepts('bar'), isFalse);
« no previous file with comments | « pkg/analyzer/test/resource_utils.dart ('k') | pkg/analyzer/test/src/task/strong/checker_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698