Index: pkg/analyzer/test/generated/element_test.dart |
diff --git a/pkg/analyzer/test/generated/element_test.dart b/pkg/analyzer/test/generated/element_test.dart |
index b53ce4c471e2ed387508fd4afbd9dcdfdfad5a78..9cbb1e664719b927b15ac34feb64c15456901797 100644 |
--- a/pkg/analyzer/test/generated/element_test.dart |
+++ b/pkg/analyzer/test/generated/element_test.dart |
@@ -1078,6 +1078,15 @@ class ElementLocationImplTest extends EngineTestCase { |
JUnitTestCase.assertEquals(encoding, location.encoding); |
} |
+ /** |
+ * For example unnamed constructor. |
+ */ |
+ void test_create_encoding_emptyLast() { |
+ String encoding = "a;b;c;"; |
+ ElementLocationImpl location = new ElementLocationImpl.con2(encoding); |
+ JUnitTestCase.assertEquals(encoding, location.encoding); |
+ } |
+ |
void test_equals_equal() { |
String encoding = "a;b;c"; |
ElementLocationImpl first = new ElementLocationImpl.con2(encoding); |
@@ -1143,6 +1152,10 @@ class ElementLocationImplTest extends EngineTestCase { |
final __test = new ElementLocationImplTest(); |
runJUnitTest(__test, __test.test_create_encoding); |
}); |
+ _ut.test('test_create_encoding_emptyLast', () { |
+ final __test = new ElementLocationImplTest(); |
+ runJUnitTest(__test, __test.test_create_encoding_emptyLast); |
+ }); |
_ut.test('test_equals_equal', () { |
final __test = new ElementLocationImplTest(); |
runJUnitTest(__test, __test.test_equals_equal); |