fix friendly frame sample; tiny test code org fix (#18)
diff --git a/lib/src/frame.dart b/lib/src/frame.dart
index efb2216..8dde788 100644
--- a/lib/src/frame.dart
+++ b/lib/src/frame.dart
@@ -51,8 +51,8 @@
// empty in Safari if it's unknown.
r'$');
-// foo/bar.dart 10:11 in Foo._bar
-// http://dartlang.org/foo/bar.dart in Foo._bar
+// foo/bar.dart 10:11 Foo._bar
+// http://dartlang.org/foo/bar.dart Foo._bar
final _friendlyFrame = new RegExp(
r'^(\S+)(?: (\d+)(?::(\d+))?)?\s+([^\d]\S*)$');
diff --git a/test/frame_test.dart b/test/frame_test.dart
index 43bce9c..080c8b8 100644
--- a/test/frame_test.dart
+++ b/test/frame_test.dart
@@ -68,7 +68,9 @@
expect(frame.line, isNull);
expect(frame.column, isNull);
});
+ });
+ group('.parseV8', () {
test('returns an UnparsedFrame for malformed frames', () {
expectIsUnparsed((text) => new Frame.parseV8(text), '');
expectIsUnparsed((text) => new Frame.parseV8(text), '#1');
@@ -78,9 +80,7 @@
expectIsUnparsed((text) => new Frame.parseV8(text),
'Foo (dart:async/future.dart:10:15)');
});
- });
- group('.parseV8', () {
test('parses a stack frame correctly', () {
var frame = new Frame.parseV8(" at VW.call\$0 "
"(http://pub.dartlang.org/stuff.dart.js:560:28)");