Sha256: 354506e265754721162d5a0a853331e5c786aa4f5ba3482bd82e2da681c67d96

Contents?: true

Size: 562 Bytes

Versions: 2

Compression:

Stored size: 562 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
  "94e162b" == 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.", "Start bisect with a good and bad commit, then run git bisect run make test."]
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
githug-0.2.8 levels/bisect.rb
githug-0.2.7 levels/bisect.rb