Created
July 2, 2018 13:42
-
-
Save mjago/1a533fa6638f80ff61cf5addcca5e180 to your computer and use it in GitHub Desktop.
Avoiding requiring spec_helper means test runs in 3 sec versus over a minute
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#require "../../spec_helper" | |
require "spec" | |
describe "Semantic: pointer" do | |
it "types int pointer" do | |
# assert_type("a = 1; pointerof(a)") { pointer_of(int32) } | |
(a = 1; pointerof(a)).class.should eq(Pointer(Int32)) | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment