aboutsummaryrefslogtreecommitdiffstats
path: root/tests/src/cgeo/geocaching/utils/CryptUtilsTest.java
diff options
context:
space:
mode:
Diffstat (limited to 'tests/src/cgeo/geocaching/utils/CryptUtilsTest.java')
-rw-r--r--tests/src/cgeo/geocaching/utils/CryptUtilsTest.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/src/cgeo/geocaching/utils/CryptUtilsTest.java b/tests/src/cgeo/geocaching/utils/CryptUtilsTest.java
index fff24f2..e727747 100644
--- a/tests/src/cgeo/geocaching/utils/CryptUtilsTest.java
+++ b/tests/src/cgeo/geocaching/utils/CryptUtilsTest.java
@@ -9,6 +9,8 @@ public class CryptUtilsTest extends TestCase {
assertEquals("", CryptUtils.rot13(""));
assertEquals("", CryptUtils.rot13((String) null));
assertEquals("Pnpur uvag", CryptUtils.rot13("Cache hint"));
+ assertEquals("Pnpur [plain] uvag", CryptUtils.rot13("Cache [plain] hint"));
+ assertEquals("[all plain]", CryptUtils.rot13("[all plain]"));
assertEquals("123", CryptUtils.rot13("123"));
}