Skip to content

Commit 8ed9c76

Browse files
committed
Fix scalastyle for new tests.
1 parent ef1cc25 commit 8ed9c76

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

core/src/test/scala/org/apache/spark/ui/UIUtilsSuite.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -158,9 +158,9 @@ class UIUtilsSuite extends SparkFunSuite {
158158

159159
test("SPARK-20393: Prevent links from parameters on page.") {
160160
val link =
161-
"""stdout'"><iframe+id%3D1131+src%3Dhttp%3A%2F%2Fdemo.testfire.net%2Fphishing.html>"""
161+
"""stdout'"><iframe+id%3D1131+src%3Dhttp%3A%2F%2Fdemo.test.net%2Fphishing.html>"""
162162
val stripLink =
163-
"stdout&quot;&gt;&lt;iframe+id%3D1131+src%3Dhttp%3A%2F%2Fdemo.testfire.net%2Fphishing.html&gt;"
163+
"stdout&quot;&gt;&lt;iframe+id%3D1131+src%3Dhttp%3A%2F%2Fdemo.test.net%2Fphishing.html&gt;"
164164

165165
assert(stripLink === stripXSS(link))
166166
}

0 commit comments

Comments
 (0)