seaofvoices / darklua

A command line tool that transforms Lua code
https://darklua.com/
MIT License
90 stars 12 forks source link

Escape extended ascii characters with backslashes #111

Closed jeparlefrancais closed 1 year ago

jeparlefrancais commented 1 year ago

Closes #104

Instead of escaping the characters with a unicode escape, which is available for Luau and Lua >= 5.3, use backslashes.

github-actions[bot] commented 1 year ago

Coverage after merging escape-extended-ascii-with-backslash into main will be

89.36%

Coverage Report for Changed Files
FileStmtsBranchesFuncsLinesUncovered Lines
src/generator
   utils.rs93.79%100%96.67%93.46%118, 125, 127, 18–19, 21, 23, 274–277, 49, 59, 69, 72, 81, 86