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

Unified Diff: lib/src/utils.dart

Issue 1053443002: Rename the package to "test". (Closed) Base URL: git@github.com:dart-lang/test@master
Patch Set: Code review changes Created 5 years, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « lib/src/util/stream_channel.dart ('k') | lib/test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/src/utils.dart
diff --git a/lib/src/utils.dart b/lib/src/utils.dart
index 05a0c4dbc0425f93e3a55f7ca15ab252607bb506..97997d7752521a1e30d13ec6997ad4e04f4a19d2 100644
--- a/lib/src/utils.dart
+++ b/lib/src/utils.dart
@@ -2,7 +2,7 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
-library unittest.utils;
+library test.utils;
import 'dart:async';
@@ -60,13 +60,13 @@ String indent(String str) =>
///
/// These paths aren't relevant and are removed from stack traces.
final _isolatePath =
- new RegExp(r"/unittest_[A-Za-z0-9]{6}/runInIsolate\.dart$");
+ new RegExp(r"/test_[A-Za-z0-9]{6}/runInIsolate\.dart$");
/// Returns [stackTrace] converted to a [Chain] with all irrelevant frames
/// folded together.
Chain terseChain(StackTrace stackTrace) {
return new Chain.forTrace(stackTrace).foldFrames((frame) {
- if (frame.package == 'unittest') return true;
+ if (frame.package == 'test') return true;
// Filter out frames from our isolate bootstrap as well.
if (frame.uri.scheme != 'file') return false;
« no previous file with comments | « lib/src/util/stream_channel.dart ('k') | lib/test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698