Fix source maps test (failed in checked mode).

R=jmesserly@google.com

Review URL: https://codereview.chromium.org//22762003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart/pkg/source_maps@25987 260f80e4-7a28-3924-810f-c04153c831b5
diff --git a/test/printer_test.dart b/test/printer_test.dart
index 06bed57..eaeae2a 100644
--- a/test/printer_test.dart
+++ b/test/printer_test.dart
@@ -84,10 +84,10 @@
     test('simple use', () {
       var printer = new NestedPrinter();
       printer..add('var ')
-             ..add('x = 3;\n', location: inputVar1)
-             ..add('f(', location: inputFunction)
-             ..add('y) => ', location: inputVar2)
-             ..add('x + y;\n', location: inputExpr)
+             ..add('x = 3;\n', span: inputVar1)
+             ..add('f(', span: inputFunction)
+             ..add('y) => ', span: inputVar2)
+             ..add('x + y;\n', span: inputExpr)
              ..build('output.dart');
       expect(printer.text, OUTPUT);
       expect(printer.map, json.stringify(EXPECTED_MAP));
@@ -96,10 +96,10 @@
     test('nested use', () {
       var printer = new NestedPrinter();
       printer..add('var ')
-             ..add(new NestedPrinter()..add('x = 3;\n', location: inputVar1))
-             ..add('f(', location: inputFunction)
-             ..add(new NestedPrinter()..add('y) => ', location: inputVar2))
-             ..add('x + y;\n', location: inputExpr)
+             ..add(new NestedPrinter()..add('x = 3;\n', span: inputVar1))
+             ..add('f(', span: inputFunction)
+             ..add(new NestedPrinter()..add('y) => ', span: inputVar2))
+             ..add('x + y;\n', span: inputExpr)
              ..build('output.dart');
       expect(printer.text, OUTPUT);
       expect(printer.map, json.stringify(EXPECTED_MAP));