Commit 2f9c8ac
committed
[SPARK-44242][CORE][FOLLOWUP] Use the
### What changes were proposed in this pull request?
Use the `assertThrows` method to test for exceptions.
### Why are the changes needed?
Fix Java linter issue.
### Does this PR introduce _any_ user-facing change?
No.
### How was this patch tested?
N/A.
Closes apache#42466 from wangyum/SPARK-44242.
Authored-by: Yuming Wang <[email protected]>
Signed-off-by: Yuming Wang <[email protected]>assertThrows method to fix Java linter issue1 parent 295c615 commit 2f9c8ac
File tree
1 file changed
+2
-2
lines changed- launcher/src/test/java/org/apache/spark/launcher
1 file changed
+2
-2
lines changedLines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
75 | | - | |
| 75 | + | |
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
| |||
84 | 84 | | |
85 | 85 | | |
86 | 86 | | |
87 | | - | |
| 87 | + | |
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
| |||
0 commit comments