Created
March 28, 2017 10:59
-
-
Save fernandes/88e48b335aee5ad9eae673a1cfda1b76 to your computer and use it in GitHub Desktop.
medium snippets
This file contains hidden or 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
| xcode-select --install | |
| brew install \ | |
| bdw-gc \ | |
| gmp \ | |
| libevent \ | |
| libpcl \ | |
| libxml2 \ | |
| libyaml \ | |
| llvm | |
| git clone https://github.com/crystal-lang/crystal.git | |
| cd crystal | |
| make |
This file contains hidden or 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
| it "errors if enum value is different from default (Int32) (#194)" do | |
| assert_error "lib LibFoo; enum Bar; X = 0x00000001_u32; end; end; | |
| LibFoo::Bar::X", | |
| "enum value must be an Int32" | |
| end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment