Sha256: ad36e5b4e24e0ed9665845abf268fda272b4e95b746567b141afb2c8701fc92d

Contents?: true

Size: 381 Bytes

Versions: 25

Compression:

Stored size: 381 Bytes

Contents

$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), "..", ".."))
require "lib/simplecov"
SimpleCov.start { command_name "Test" }

dir = File.expand_path(File.dirname(__FILE__))
file = File.join(dir, "generated_buddha.rb")
code = %{
  def kill_the_buddha(z)
    z**z
  end
}
File.open(file, "w") { |f| f.print code }
load file
File.unlink file
fail unless kill_the_buddha(3) == 27

Version data entries

25 entries across 25 versions & 7 rubygems

Version Path
cvss-suite-1.0.8 vendor/cache/ruby/2.2.0/gems/simplecov-0.11.2/spec/fixtures/deleted_source_sample.rb
cvss-suite-1.0.7 vendor/cache/ruby/2.2.0/gems/simplecov-0.11.2/spec/fixtures/deleted_source_sample.rb
ish_lib_manager-0.0.1 test/dummy/vendor/bundle/ruby/2.3.0/gems/simplecov-0.11.2/spec/fixtures/deleted_source_sample.rb
cvss-suite-1.0.6 vendor/cache/ruby/2.2.0/gems/simplecov-0.11.2/spec/fixtures/deleted_source_sample.rb
cvss-suite-1.0.5 vendor/cache/ruby/2.2.0/gems/simplecov-0.11.2/spec/fixtures/deleted_source_sample.rb
cvss-suite-1.0.4 vendor/cache/ruby/2.2.0/gems/simplecov-0.11.2/spec/fixtures/deleted_source_sample.rb
cvss-suite-1.0.3 vendor/cache/ruby/2.2.0/gems/simplecov-0.11.2/spec/fixtures/deleted_source_sample.rb
cvss-suite-1.0.2 vendor/cache/ruby/2.2.0/gems/simplecov-0.11.2/spec/fixtures/deleted_source_sample.rb
cvss-suite-1.0.1 vendor/cache/ruby/2.2.0/gems/simplecov-0.11.2/spec/fixtures/deleted_source_sample.rb
cvss-suite-1.0.0 vendor/cache/ruby/2.2.0/gems/simplecov-0.11.2/spec/fixtures/deleted_source_sample.rb
simplecov-0.11.2 spec/fixtures/deleted_source_sample.rb
simplecov-0.11.1 spec/fixtures/deleted_source_sample.rb
simplecov-0.11.0 spec/fixtures/deleted_source_sample.rb
suzuko-0.1.8 vendor/bundle/ruby/2.0.0/gems/simplecov-0.10.0/test/fixtures/deleted_source_sample.rb
suzuko-0.1.7 vendor/bundle/ruby/2.0.0/gems/simplecov-0.10.0/test/fixtures/deleted_source_sample.rb
mastermind_adeybee-0.1.4 vendor/bundle/ruby/2.2.0/gems/simplecov-0.10.0/test/fixtures/deleted_source_sample.rb
mastermind_adeybee-0.1.3 vendor/bundle/ruby/2.2.0/gems/simplecov-0.10.0/test/fixtures/deleted_source_sample.rb
mastermind_adeybee-0.1.2 vendor/bundle/ruby/2.2.0/gems/simplecov-0.10.0/test/fixtures/deleted_source_sample.rb
mastermind_adeybee-0.1.1 vendor/bundle/ruby/2.2.0/gems/simplecov-0.10.0/test/fixtures/deleted_source_sample.rb
vagrant-cloudstack-1.2.0 vendor/bundle/gems/simplecov-0.10.0/test/fixtures/deleted_source_sample.rb