Skip to content

Instantly share code, notes, and snippets.

@hanneskaeufler
Created October 20, 2018 16:01
Show Gist options
  • Save hanneskaeufler/d8a1b7880515d5b09960c51f6b67b923 to your computer and use it in GitHub Desktop.
Save hanneskaeufler/d8a1b7880515d5b09960c51f6b67b923 to your computer and use it in GitHub Desktop.
Improved test-suite
# valid.cr
def valid?
true
end
# valid_spec.cr
require "./valid"
require "spec"
describe "valid?" do
it "works" do
valid?.should eq true
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment