Ensure correct line endings for method_mirror_source tests.

R=whesse@google.com
BUG=

Review URL: https://codereview.chromium.org//1218813002.
This commit is contained in:
William Hesse 2015-06-29 13:43:57 +02:00
parent 74d04a6a48
commit 57765a8929
5 changed files with 11 additions and 3 deletions

3
.gitattributes vendored
View file

@ -17,9 +17,12 @@ tests/compiler/dart2js_extra/literal_string_juxtaposition_test.dart -text
tests/language/raw_string_test.dart -text
tests/language/multiline_strings_test.dart -text
tests/lib/convert/json_pretty_test.dart -text
tests/lib/mirrors/method_mirror_source_line_ending_test.dart -text
tests/lib/mirrors/method_mirror_source_line_ending_cr.dart -text
tests/lib/mirrors/method_mirror_source_line_ending_crlf.dart -text
tests/lib/mirrors/method_mirror_source_line_ending_lf.dart -text
tests/lib/mirrors/method_mirror_source_test.dart -text
tests/lib/mirrors/method_mirror_source_other.dart -text
pkg/js_ast/test/printer_callback_test.dart -text
# Files to leave alone and not diff.

View file

@ -2,8 +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.
// This file is marked executable so source control will preserve the type of
// line ending.
// Note: This test relies on LF line endings in the source file.
library line_endings.lf;

View file

@ -2,6 +2,8 @@
// 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.
// Note: These tests rely on specific line endings in the source files.
import "dart:mirrors";
import "package:expect/expect.dart";

View file

@ -3,4 +3,6 @@ main() {
}
// This function must be on the first line.
class SomethingInOther {}
class SomethingInOther {}
// Note: This test relies on LF line endings in the source file.

View file

@ -2,6 +2,8 @@
// 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.
// Note: This test relies on LF line endings in the source file.
import "dart:mirrors";
import "package:expect/expect.dart";
import "method_mirror_source_other.dart";