mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-14 20:42:21 +00:00
[FIXED JENKINS-17030] Enable word breaking for job names
This commit is contained in:
1 parent
d391bbee07
commit
2c240bdc87
10 files changed
+64
-8
No files matched your search
@@ -264,4 +264,11 @@ public class FunctionsTest {
|
||||
}
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testBreakableString() {
|
||||
|
||||
assertEquals("Hello world!", Functions.breakableString("Hello world!"));
|
||||
assertEquals("H<wbr>,e<wbr>.l<wbr>/l<wbr>:o<wbr>-w<wbr>_o<wbr>=+|d", Functions.breakableString("H,e.l/l:o-w_o=+|d"));
|
||||
assertEquals("ALongStrin<wbr>gThatCanNo<wbr>tBeBrokenB<wbr>yDefault", Functions.breakableString("ALongStringThatCanNotBeBrokenByDefault"));
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user