Add first test
This commit is contained in:
parent
1ca21b2dcb
commit
e2f807391b
6
spec/compiler_spec.rb
Normal file
6
spec/compiler_spec.rb
Normal file
@ -0,0 +1,6 @@
|
||||
require_relative "../compiler.rb"
|
||||
describe "compile" do
|
||||
it "handles int definitions" do
|
||||
expect(compile("var int number")).to eq [{"number"=>0}, ""]
|
||||
end
|
||||
end
|
Loading…
Reference in New Issue
Block a user