mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-15 21:12:15 +00:00
more test case
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@23546 71c3de6d-444a-0410-be80-ed276b4c234a
This commit is contained in:
1 parent
61d341e21d
commit
b73f620e88
1 file changed
+2
@@ -52,6 +52,8 @@ public class UtilTest extends TestCase {
|
||||
|
||||
// $ escaping
|
||||
assertEquals("asd$${AA}dd", Util.replaceMacro("asd$$$${AA}dd",m));
|
||||
assertEquals("$", Util.replaceMacro("$$",m));
|
||||
assertEquals("$$", Util.replaceMacro("$$$$",m));
|
||||
|
||||
// test that more complex scenarios work
|
||||
assertEquals("/a/B/aa", Util.replaceMacro("/$A/$B/$AA",m));
|
||||
|
||||
Reference in new issue
Block a user