Sha256: 6bd2075906ee96829fab0ebc6bfb6437ffa9b311c4969e6b2c08fc40edd6f5de

Contents?: true

Size: 588 Bytes

Versions: 4

Compression:

Stored size: 588 Bytes

Contents

difficulty 3
description "A bug was introduced somewhere along the way.  You know that running 'ruby prog.rb 5' should output 15.  You can also run 'make test'.  What are the first 7 chars of the hash of the commit that introduced the bug."

setup do
  init_from_level
  repo.init
end

solution do
  "18ed2ac" == request("What are the first 7 characters of the hash of the commit that introduced the bug?")
end

hint do
  puts ["The fastest way to find the bug is with bisect.", "Don't forget to start bisect first, identify a good or bad commit, then run git bisect run make test."]
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
githug-0.3.2 levels/bisect.rb
githug-0.3.1 levels/bisect.rb
githug-0.3.0 levels/bisect.rb
githug-0.2.12 levels/bisect.rb