Fix a couple more tests that were relying on sourcemap message format.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart/pkg/third_party/html5lib@36722 260f80e4-7a28-3924-810f-c04153c831b5
diff --git a/CHANGELOG.md b/CHANGELOG.md
index dd64e89..7c7ebb0 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -3,6 +3,9 @@
 This file contains highlights of what changes on each version of the html5lib
 package.
 
+#### Pub version 0.10.0+1
+  * use a more recent source_maps version.
+
 #### Pub version 0.10.0
   * fix how document fragments are added in NodeList.add/addAll/insertAll.
 
diff --git a/lib/parser.dart b/lib/parser.dart
index 721985a..aca5661 100644
--- a/lib/parser.dart
+++ b/lib/parser.dart
@@ -3354,7 +3354,7 @@
 
   String toString() {
     var res = span.getLocationMessage(message);
-    return span.sourceUrl == null ? 'ParserError$res' : res;
+    return span.sourceUrl == null ? 'ParserError on $res' : 'On $res';
   }
 }
 
diff --git a/pubspec.yaml b/pubspec.yaml
index 56d613b..e4a2d9a 100644
--- a/pubspec.yaml
+++ b/pubspec.yaml
@@ -1,5 +1,5 @@
 name: html5lib
-version: 0.11.0
+version: 0.11.0+1
 author: Dart Team <misc@dartlang.org>
 description: A library for working with HTML documents.
 homepage: http://pub.dartlang.org/packages/html5lib
@@ -7,7 +7,7 @@
   sdk: '>=1.2.0 <2.0.0'
 dependencies:
   csslib: '>=0.10.0 <0.11.0'
-  source_maps: '>=0.9.0 <0.10.0'
+  source_maps: '>=0.9.1 <0.10.0'
   utf: '>=0.9.0 <0.10.0'
 dev_dependencies:
   path: '>=0.9.0 <2.0.0'
diff --git a/test/parser_feature_test.dart b/test/parser_feature_test.dart
index b21480d..e5b036f 100644
--- a/test/parser_feature_test.dart
+++ b/test/parser_feature_test.dart
@@ -53,7 +53,7 @@
     expect(error.span.text, '<!DOCTYPE html>');
 
     expect(error.toString(), '''
-ParseError:4:3: Unexpected DOCTYPE. Ignored.
+On line 4, column 3 of ParseError: Unexpected DOCTYPE. Ignored.
   <!DOCTYPE html>
   ^^^^^^^^^^^^^^^''');
   });
@@ -245,7 +245,7 @@
     expect(parser.errors[0].message,
         'Unexpected non-space characters. Expected DOCTYPE.');
     expect(parser.errors[0].toString(),
-        'ParserError:1:4: Unexpected non-space characters. '
+        'ParserError on line 1, column 4: Unexpected non-space characters. '
         'Expected DOCTYPE.');
   });