@@ -87,7 +87,7 @@ zip zap zop""", url: "foo.dart");
8787 test ("column may not be outside the file" , () {
8888 expect (() => file.getOffset (2 , 100 ), throwsRangeError);
8989 });
90-
90+
9191 test ("column may not be outside the line" , () {
9292 expect (() => file.getOffset (1 , 20 ), throwsRangeError);
9393 });
@@ -109,8 +109,8 @@ zip zap zop""", url: "foo.dart");
109109
110110 group ("for span().union()" , () {
111111 test ("source URLs must match" , () {
112- var other = new SourceSpan (
113- new SourceLocation (10 ), new SourceLocation (11 ), "_" );
112+ var other =
113+ new SourceSpan ( new SourceLocation (10 ), new SourceLocation (11 ), "_" );
114114
115115 expect (() => file.span (9 , 10 ).union (other), throwsArgumentError);
116116 });
@@ -312,10 +312,8 @@ zip zap zop""", url: "bar.dart").span(10, 11);
312312 });
313313
314314 test ("returns a base SourceSpan for a SourceSpan input" , () {
315- var other = new SourceSpan (
316- new SourceLocation (0 , sourceUrl: "foo.dart" ),
317- new SourceLocation (5 , sourceUrl: "foo.dart" ),
318- "hey, " );
315+ var other = new SourceSpan (new SourceLocation (0 , sourceUrl: "foo.dart" ),
316+ new SourceLocation (5 , sourceUrl: "foo.dart" ), "hey, " );
319317 var result = span.union (other);
320318 expect (result, isNot (new isInstanceOf <FileSpan >()));
321319 expect (result.start, equals (other.start));
0 commit comments