Index: sdk/lib/_internal/pub_generated/test/dart2js/does_not_support_invalid_option_test.dart |
diff --git a/sdk/lib/_internal/pub_generated/test/dart2js/does_not_support_invalid_option_test.dart b/sdk/lib/_internal/pub_generated/test/dart2js/does_not_support_invalid_option_test.dart |
index 6ad75eb31bb0ce0939d22d8d513b6a5e500c1f06..6d3fb7e9204aa084004020bbbcee2202e4c9f598 100644 |
--- a/sdk/lib/_internal/pub_generated/test/dart2js/does_not_support_invalid_option_test.dart |
+++ b/sdk/lib/_internal/pub_generated/test/dart2js/does_not_support_invalid_option_test.dart |
@@ -1,7 +1,12 @@ |
+// Copyright (c) 2013, the Dart project authors. Please see the AUTHORS d.file |
+// 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. |
+ |
import '../../lib/src/exit_codes.dart' as exit_codes; |
import '../descriptor.dart' as d; |
import '../test_pub.dart'; |
import '../serve/utils.dart'; |
+ |
main() { |
initConfig(); |
integration("doesn't support an invalid dart2js option", () { |
@@ -13,6 +18,9 @@ main() { |
} |
}] |
})]).create(); |
+ |
+ // TODO(nweiz): This should provide more context about how the option got |
+ // passed to dart2js. See issue 16008. |
var pub = startPubServe(); |
pub.stderr.expect('Unrecognized dart2js option "invalidOption".'); |
pub.shouldExit(exit_codes.DATA); |