Skip to content
Permalink
Browse files

Merge branch 'master' of github.com:luvit/luvit

  • Loading branch information...
Ryan Phillips
Ryan Phillips committed Aug 29, 2012
2 parents cc715a4 + 97e52a0 commit c810e715d01b969e8b78cb7b090b4672a779faaa
Showing with 5 additions and 1 deletion.
  1. +1 −1 lib/luvit/utils.lua
  2. +4 −0 tests/test-utils.lua
@@ -53,7 +53,7 @@ function utils.color(color_name)
end

function utils.colorize(color_name, string, reset_name)
return utils.color(color_name) .. string .. utils.color(reset_name)
return utils.color(color_name) .. tostring(string) .. utils.color(reset_name)
end

local backslash, null, newline, carriage, tab, quote, quote2, obracket, cbracket
@@ -91,3 +91,7 @@ bound('!', function(arg1, arg2, arg3)
assert(arg2 == 'world')
assert(arg3 == '!')
end)

local Error = require('core').Error
local MyError = Error:extend()
assert(pcall(utils.dump, MyError))

0 comments on commit c810e71

Please sign in to comment.
You can’t perform that action at this time.