Index: packages/dart_style/test/regression/0300/0388.unit |
diff --git a/packages/dart_style/test/regression/0300/0388.unit b/packages/dart_style/test/regression/0300/0388.unit |
new file mode 100644 |
index 0000000000000000000000000000000000000000..a42d36641b5454351f701023f403ac1e40f757bf |
--- /dev/null |
+++ b/packages/dart_style/test/regression/0300/0388.unit |
@@ -0,0 +1,41 @@ |
+>>> |
+class _SimpleNodeValidator { |
+ factory _SimpleNodeValidator.allowImages(UriPolicy uriPolicy) { |
+ return new _SimpleNodeValidator(uriPolicy, |
+ allowedElements: const ['IMG'], |
+ allowedAttributes: const [ |
+ 'IMG::align', |
+ 'IMG::alt', |
+ 'IMG::border', |
+ 'IMG::height', |
+ 'IMG::hspace', |
+ 'IMG::ismap', |
+ 'IMG::name', |
+ 'IMG::usemap', |
+ 'IMG::vspace', |
+ 'IMG::width', |
+ ], |
+ allowedUriAttributes: const ['IMG::src',]); |
+ } |
+} |
+<<< |
+class _SimpleNodeValidator { |
+ factory _SimpleNodeValidator.allowImages(UriPolicy uriPolicy) { |
+ return new _SimpleNodeValidator(uriPolicy, allowedElements: const [ |
+ 'IMG' |
+ ], allowedAttributes: const [ |
+ 'IMG::align', |
+ 'IMG::alt', |
+ 'IMG::border', |
+ 'IMG::height', |
+ 'IMG::hspace', |
+ 'IMG::ismap', |
+ 'IMG::name', |
+ 'IMG::usemap', |
+ 'IMG::vspace', |
+ 'IMG::width', |
+ ], allowedUriAttributes: const [ |
+ 'IMG::src', |
+ ]); |
+ } |
+} |