From fe51373f5a95323d64f6d966888a2c6c62a36deb Mon Sep 17 00:00:00 2001 From: Allan Wang Date: Sun, 11 Mar 2018 19:24:32 -0400 Subject: Enhancement/debug mode (#779) * Update changelog * Improve debugger * Remove need for mapping urls * Remove excess logs * Clean up --- .../com/pitchedapps/frost/utils/StringEscapeUtilsTest.kt | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 app/src/test/kotlin/com/pitchedapps/frost/utils/StringEscapeUtilsTest.kt (limited to 'app/src/test/kotlin/com/pitchedapps/frost/utils') diff --git a/app/src/test/kotlin/com/pitchedapps/frost/utils/StringEscapeUtilsTest.kt b/app/src/test/kotlin/com/pitchedapps/frost/utils/StringEscapeUtilsTest.kt new file mode 100644 index 00000000..86bd4ce5 --- /dev/null +++ b/app/src/test/kotlin/com/pitchedapps/frost/utils/StringEscapeUtilsTest.kt @@ -0,0 +1,16 @@ +package com.pitchedapps.frost.utils + +import org.junit.Test +import kotlin.test.assertEquals + +/** + * Created by Allan Wang on 11/03/18. + */ +class StringEscapeUtilsTest { + + @Test + fun utf() { + val escaped = "\\u003Chead> color=\\\"#3b5998\\\"" + assertEquals(" color=\"#3b5998\"", escaped.unescapeHtml()) + } +} \ No newline at end of file -- cgit v1.2.3