Skip to content

Commit

Permalink
Add test #2245.
Browse files Browse the repository at this point in the history
  • Loading branch information
avancinirodrigo committed Sep 26, 2018
1 parent af2a9b7 commit e81a3b8
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions packages/base/tests/functional/basics/Utils.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1161,6 +1161,13 @@ return{
end)

unitTest:assertEquals(count, 84)
end,
replaceLatinCharacters = function(unitTest)
local str = "action"
unitTest:assertEquals(replaceLatinCharacters(str), "action")

str = "ação"
unitTest:assertEquals(replaceLatinCharacters(str), "a\xE7\xE3o")
end
}

0 comments on commit e81a3b8

Please sign in to comment.