Skip to content

Commit

Permalink
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions opal/opal/rspec/text_formatter.rb
Original file line number Diff line number Diff line change
@@ -55,11 +55,11 @@ def finish_with_code(code)
end

def green(str)
`console.log('\\033[32m' + str + '\\033[0m')`
`console.log('\033[32m' + str + '\033[0m')`
end

def red(str)
`console.log('\\033[31m' + str + '\\033[0m')`
`console.log('\033[31m' + str + '\033[0m')`
end

def short_padding

0 comments on commit 25a11a1

Please sign in to comment.