Skip to content

Commit 4ac4ce7

Browse files
fshcheglovCommit Queue
authored andcommitted
Fix \n being incorrectly written as /n in join
Change-Id: I36836eaa4ce7c2d56fb5072054ceb344ea9e1225 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/442344 Reviewed-by: Samuel Rawlins <[email protected]> Reviewed-by: Konstantin Shcheglov <[email protected]> Commit-Queue: Samuel Rawlins <[email protected]>
1 parent b84b58c commit 4ac4ce7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pkg/analyzer/test/util/diff.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,10 +60,10 @@ void printPrettyDiff(String expected, String actual, {int context = 3}) {
6060

6161
if (full.length * 0.3 >= short.length) {
6262
print('-------- Short diff --------');
63-
print(short.join('/n'));
63+
print(short.join('\n'));
6464
}
6565
print('-------- Full diff ---------');
66-
print(full.join('/n'));
66+
print(full.join('\n'));
6767
print('---------- Actual ----------');
6868
print(actual.trimRight());
6969
print('----------------------------');

0 commit comments

Comments
 (0)