Skip to content

Commit

Permalink
[SPARK-26426][SQL] fix ExpresionInfo assert error in windows operatio…
Browse files Browse the repository at this point in the history
…n system.

## What changes were proposed in this pull request?
fix ExpresionInfo assert error in windows operation system, when running unit tests.

## How was this patch tested?
unit tests

Closes #23363 from yanlin-Lynn/unit-test-windows.

Authored-by: wangyanlin01 <wangyanlin01@baidu.com>
Signed-off-by: Hyukjin Kwon <gurwls223@apache.org>
  • Loading branch information
wangyanlin01 authored and HyukjinKwon committed Dec 25, 2018
1 parent 0523f5e commit 827383a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ public ExpressionInfo(
assert name != null;
assert arguments != null;
assert examples != null;
assert examples.isEmpty() || examples.startsWith("\n Examples:");
assert examples.isEmpty() || examples.startsWith(System.lineSeparator() + " Examples:");
assert note != null;
assert since != null;

Expand Down

0 comments on commit 827383a

Please sign in to comment.