007033109d
Some test files were included, where only their data actually depended on line endings. Some tests didn't actually depend on line ending at all. (They may date back to a time where multiline strings didn't normalize their newlines.) Fix some syntax tests that had been formatted, and exempt all files depending on line endings from formatting. Change-Id: I6c003e9c4f03d3b2af102bfca59d4a7bc8e6d63f Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/434380 Reviewed-by: Devon Carew <devoncarew@google.com> Commit-Queue: Lasse Nielsen <lrn@google.com>
18 lines
601 B
Dart
18 lines
601 B
Dart
// Copyright (c) 2015, the Dart project authors. Please see the AUTHORS 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.
|
|
|
|
// Test depends on specific line endings,
|
|
// and requires an entry in the .gitattributes file.
|
|
|
|
// dart format off
|
|
|
|
// All line endings inside string literals are Carriage Return, U+000D
|
|
const constantMultilineString = """
|
|
a
|
|
b
|
|
""";
|
|
|
|
var nonConstantMultilineString = """
|
|
a
|
|
b
|
|
""";
|
|
|
|
const constantRawMultilineString = r"""
|
|
\a
|
|
\b
|
|
""";
|
|
|
|
var nonConstantRawMultilineString = r"""
|
|
\a
|
|
\b
|
|
""";
|