Index: pkg/analyzer/test/src/summary/resynthesize_test.dart |
diff --git a/pkg/analyzer/test/src/summary/resynthesize_test.dart b/pkg/analyzer/test/src/summary/resynthesize_test.dart |
index 307b104b678df6e164e8fb5c4bb3377c6733d3b0..f979b8d83fac8a4adb8baf965b5fabce5b1213fd 100644 |
--- a/pkg/analyzer/test/src/summary/resynthesize_test.dart |
+++ b/pkg/analyzer/test/src/summary/resynthesize_test.dart |
@@ -798,10 +798,18 @@ class E { |
checkLibrary('class C { C operator+(C other) => null; }'); |
} |
+ test_operator_equal() { |
+ checkLibrary('class C { bool operator==(C other) => false; }'); |
+ } |
+ |
test_operator_external() { |
checkLibrary('class C { external C operator+(C other); }'); |
} |
+ test_operator_greater_equal() { |
+ checkLibrary('class C { bool operator>=(C other) => false; }'); |
+ } |
+ |
test_operator_index() { |
checkLibrary('class C { bool operator[](int i) => null; }'); |
} |
@@ -810,6 +818,10 @@ class E { |
checkLibrary('class C { void operator[]=(int i, bool v) {} }'); |
} |
+ test_operator_less_equal() { |
+ checkLibrary('class C { bool operator<=(C other) => false; }'); |
+ } |
+ |
test_parts() { |
addNamedSource('/a.dart', 'part of my.lib;'); |
addNamedSource('/b.dart', 'part of my.lib;'); |