Skip to content

Instantly share code, notes, and snippets.

@hanneskaeufler
Last active October 20, 2018 15:54
Show Gist options
  • Save hanneskaeufler/b8bfd04bd22cbeccc96b026586c1412d to your computer and use it in GitHub Desktop.
Save hanneskaeufler/b8bfd04bd22cbeccc96b026586c1412d to your computer and use it in GitHub Desktop.
100% code coverage but not really uncovered
# valid.cr
def valid?
true
end
# valid_spec.cr
require "./valid"
require "spec"
describe "valid?" do
it "works" do
valid?.should be_a(Bool)
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment