Skip to content

Commit

Permalink
Showing 2 changed files with 3 additions and 6 deletions.
6 changes: 3 additions & 3 deletions spec/corelib/source_map_spec.rb
Original file line number Diff line number Diff line change
@@ -4,9 +4,9 @@
describe Opal::SourceMap do
before do
pathname = 'foo.rb'
parser = Opal::Compiler.new
@source = parser.parse("1 + 1", pathname)
@map = Opal::SourceMap.new(parser.fragments, pathname)
compiler = Opal::Compiler.new
@source = compiler.compile("1 + 1", :file => pathname)
@map = Opal::SourceMap.new(compiler.fragments, pathname)
end

it 'does not blow while generating the map' do
3 changes: 0 additions & 3 deletions spec/filters/bugs/source_map.rb

This file was deleted.

0 comments on commit 74d9fe0

Please sign in to comment.