Commit d2509f6e authored by yann300's avatar yann300

fix tests

parent af310de3
...@@ -178,8 +178,8 @@ const remixIdeThemes = { ...@@ -178,8 +178,8 @@ const remixIdeThemes = {
primary: '#2A9FD6', primary: '#2A9FD6',
secondary: '#555', secondary: '#555',
success: '#77B300', success: '#77B300',
info: '#9933CC', info: '#93C',
warning: '#FF8800', warning: '#F80',
danger: '#CC0000' danger: '#C00'
} }
} }
...@@ -87,8 +87,8 @@ Renderer.prototype.error = function (message, container, opt) { ...@@ -87,8 +87,8 @@ Renderer.prototype.error = function (message, container, opt) {
// extract line / column // extract line / column
let position = text.match(/^(.*?):([0-9]*?):([0-9]*?)?/) let position = text.match(/^(.*?):([0-9]*?):([0-9]*?)?/)
opt.errLine = position ? position[2] : -1 opt.errLine = position ? parseInt(position[2]) - 1 : -1
opt.errCol = position ? position[3] : -1 opt.errCol = position ? parseInt(position[3]) : -1
// extract file // extract file
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment