diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2018-10-03 16:26:24 -0700 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2018-10-03 16:26:29 -0700 |
| commit | 2f68357cb6800e97edd31abfc707d7c7905faa64 (patch) | |
| tree | 8ead999f5e3d9f0c207f73c7f498d813177db519 /string2.moon | |
| parent | b615cb5c8e638cffe77bbe5cb86c9362e2b2fc18 (diff) | |
Some incremental progress.
Diffstat (limited to 'string2.moon')
| -rw-r--r-- | string2.moon | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/string2.moon b/string2.moon index 8d2f3f9..d70abe6 100644 --- a/string2.moon +++ b/string2.moon @@ -96,6 +96,6 @@ for test in *{"", "_", " ", "return", "asdf", "one two", "one_two", "Hex2Dec", " lua_id = string2.as_lua_id(test) assert is_lua_id(lua_id), "failed to convert '#{test}' to a valid Lua identifier (got '#{lua_id}')" roundtrip = string2.from_lua_id(lua_id) - assert roundtrip == test, "Failed lua_id roundtrip: '#{test}' -> #{lua_id} -> #{roundtrip}" + assert roundtrip == test, "Failed lua_id roundtrip: '#{test}' -> '#{lua_id}' -> '#{roundtrip}'" return string2 |
