Index: client/tests/client/layout/GridLayoutDemo.dart |
diff --git a/client/tests/client/layout/GridLayoutDemo.dart b/client/tests/client/layout/GridLayoutDemo.dart |
index dfc85252324f5f2acd59d8e19dae62525d4e9815..8306b06c8511c356a1f89f0ed5b3b29976b5060a 100644 |
--- a/client/tests/client/layout/GridLayoutDemo.dart |
+++ b/client/tests/client/layout/GridLayoutDemo.dart |
@@ -104,14 +104,14 @@ void printMetrics(String example) { |
final node = document.body.query('#grid'); |
String exampleId = example.split(' ')[0]; |
final sb = new StringBuffer(); |
- sb.add('void testSpecExample${exampleId}() {\n'); |
+ sb.add("test('Spec Example $exampleId', () {\n"); |
Siggi Cherem (dart-lang)
2011/10/18 01:29:56
just to understand this code better - this is just
Bob Nystrom
2011/10/18 17:14:19
Yeah, I believe so. I can check with John to make
|
sb.add(" verifyExample('$example', {\n"); |
final elems = new List.from(node.elements); |
for (Element child in node.elements) { |
_appendMetrics(sb, child, ' '); |
} |
sb.add(' });\n'); |
- sb.add('}\n\n'); |
+ sb.add('});\n\n'); |
window.console.log(sb.toString()); |
} |