mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
@@ -11,6 +11,8 @@ describe("util module", function()
|
||||
assert.is_equal(util.stripePunctuations("\"hello, world?\""), "hello, world")
|
||||
assert.is_equal(util.stripePunctuations("“你好“"), "你好")
|
||||
assert.is_equal(util.stripePunctuations("“你好?“"), "你好")
|
||||
assert.is_equal(util.stripePunctuations(""), "")
|
||||
assert.is_equal(util.stripePunctuations(nil), nil)
|
||||
end)
|
||||
|
||||
it("should split string with patterns", function()
|
||||
|
||||
Reference in New Issue
Block a user