Add first test

This commit is contained in:
pjht 2017-10-01 09:13:53 -05:00
parent 1ca21b2dcb
commit e2f807391b

6
spec/compiler_spec.rb Normal file
View 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