Skip to content

Instantly share code, notes, and snippets.

@andrew-aladev
Created December 3, 2019 21:22
Show Gist options
  • Select an option

  • Save andrew-aladev/baa5d3ebe7718853756f75a5074e90b5 to your computer and use it in GitHub Desktop.

Select an option

Save andrew-aladev/baa5d3ebe7718853756f75a5074e90b5 to your computer and use it in GitHub Desktop.
Ruby line coverage bug
a = 2
raise StandardError if a.zero?
a -= 1 until a.zero?
puts a
require "coverage"
Coverage.start
require_relative "cov"
pp Coverage.result
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment