Skip to content

Instantly share code, notes, and snippets.

@andrew-aladev
Created December 3, 2019 21:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save andrew-aladev/baa5d3ebe7718853756f75a5074e90b5 to your computer and use it in GitHub Desktop.
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