From 7df9adc2215b3232f311e36def7c7457f8480ff1 Mon Sep 17 00:00:00 2001
From: Natalie Weizenbaum <nweiz@google.com>
Date: Thu, 16 Apr 2015 14:21:36 -0700
Subject: [PATCH] Fix the list of browsers on non-Mac platforms.

R=kevmoo@google.com

Review URL: https://codereview.chromium.org//1058143006
---
 pubspec.yaml                 | 2 +-
 test/runner/runner_test.dart | 6 +++++-
 2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/pubspec.yaml b/pubspec.yaml
index e53443cf..cdc8ede8 100644
--- a/pubspec.yaml
+++ b/pubspec.yaml
@@ -1,5 +1,5 @@
 name: test
-version: 0.12.0-beta.8
+version: 0.12.0-dev
 author: Dart Team <misc@dartlang.org>
 description: A library for writing dart unit tests.
 homepage: https://github.com/dart-lang/test
diff --git a/test/runner/runner_test.dart b/test/runner/runner_test.dart
index 68a00a2b..910f98f7 100644
--- a/test/runner/runner_test.dart
+++ b/test/runner/runner_test.dart
@@ -38,6 +38,10 @@ void main() {
 
 final _defaultConcurrency = math.max(1, Platform.numberOfProcessors ~/ 2);
 
+final _browsers =
+    "[vm (default), dartium, content-shell, chrome, phantomjs, firefox" +
+        (Platform.isMacOS ? ", safari" : "") + "]";
+
 final _usage = """
 Usage: pub run test:test [files or directories...]
 
@@ -48,7 +52,7 @@ Usage: pub run test:test [files or directories...]
 
 -N, --plain-name               A plain-text substring of the name of the test to run.
 -p, --platform                 The platform(s) on which to run the tests.
-                               [vm (default), dartium, content-shell, chrome, phantomjs, firefox, safari]
+                               $_browsers
 
 -j, --concurrency=<threads>    The number of concurrent test suites run.
                                (defaults to $_defaultConcurrency)
-- 
GitLab