Skip to content

Commit

Permalink
Re-enable source maps spec running under opal
Browse files Browse the repository at this point in the history
  • Loading branch information
adambeynon committed Oct 29, 2013
1 parent 8a4b19a commit 74d9fe0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
6 changes: 3 additions & 3 deletions spec/corelib/source_map_spec.rb
Expand Up @@ -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
Expand Down
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.