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

Side by Side Diff: mojo/public/dart/third_party/csslib/test/debug_test.dart

Issue 1346773002: Stop running pub get at gclient sync time and fix build bugs (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 3 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 unified diff | Download patch
OLDNEW
(Empty)
1 library debug;
2
3 import 'package:test/test.dart';
4 import 'testing.dart';
5
6 void main() {
7 test("excercise debug", () {
8 var style = parseCss(_input);
9
10 var debugValue = style.toDebugString();
11 expect(debugValue, isNotNull);
12
13 var style2 = style.clone();
14
15 expect(style2.toDebugString(), debugValue);
16 });
17 }
18
19 const String _input = r'''
20 .foo {
21 background-color: #191919;
22 width: 10PX;
23 height: 22mM !important;
24 border-width: 20cm;
25 margin-width: 33%;
26 border-height: 30EM;
27 width: .6in;
28 length: 1.2in;
29 -web-stuff: -10Px;
30 }''';
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698