blob: 3c2e48af04c93e92218ce46252fb9dffd91d4cd2 [file] [log] [blame]
// Copyright (c) 2020, 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 w/ `pub run test -N missing_whitespace_between_adjacent_strings`
f(o) {
f('long line' // LINT
'is long');
f('long $f line' // LINT
'is long');
f('long line' ' is long'); // OK
f('long line ' 'is long'); // OK
f('long $f line ' 'is long'); // OK
f('longLineWithoutSpaceCouldBe' 'AnURL'); // OK
f('long line\n' 'is long'); // OK
f('long line\r' 'is long'); // OK
f('long line\t' 'is long'); // OK
f(RegExp('(\n)+' '(\n)+' '(\n)+')); // OK
matches('(\n)+' '(\n)+' '(\n)+'); // OK
}
void matches(String value){}