diff options
author | Yegor Kozlov <yegor@apache.org> | 2012-02-27 15:21:40 +0000 |
---|---|---|
committer | Yegor Kozlov <yegor@apache.org> | 2012-02-27 15:21:40 +0000 |
commit | 3b7638611bdd4e9d9b3dfcbb229c902f28da5710 (patch) | |
tree | 7b2f73f6db9505402021e74a603bcd9563231644 /src/testcases | |
parent | a6f40e2952bfaad335e670192b3b51a963c04d08 (diff) | |
download | poi-3b7638611bdd4e9d9b3dfcbb229c902f28da5710.tar.gz poi-3b7638611bdd4e9d9b3dfcbb229c902f28da5710.zip |
Bugzilla 52583 - fixed WorkbookUtil#createSafeSheetName to escape colon
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1294180 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/testcases')
-rw-r--r-- | src/testcases/org/apache/poi/ss/util/TestWorkbookUtil.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/testcases/org/apache/poi/ss/util/TestWorkbookUtil.java b/src/testcases/org/apache/poi/ss/util/TestWorkbookUtil.java index c1e49cab67..2bd305c433 100644 --- a/src/testcases/org/apache/poi/ss/util/TestWorkbookUtil.java +++ b/src/testcases/org/apache/poi/ss/util/TestWorkbookUtil.java @@ -80,5 +80,8 @@ public final class TestWorkbookUtil extends TestCase { actual = WorkbookUtil.createSafeSheetName("1234567890123456789012345678901TOOLONG"); assertEquals("1234567890123456789012345678901", actual); + + actual = WorkbookUtil.createSafeSheetName("sheet:a4"); + assertEquals("sheet a4", actual); } } |