Sha256: 36905eb49861c884fcb81157330d1fdf6b755320b081040cda216d5d50f3e668

Contents?: true

Size: 302 Bytes

Versions: 6

Compression:

Stored size: 302 Bytes

Contents

require 'pione/test-helper'

describe Pione::Command::PioneLangCheckSyntax do
  before do
    @cmd = Pione::Command::PioneLangCheckSyntax
  end

  it "should check syntax" do
    Rootage::ScenarioTest.succeed(@cmd.new(["-e", "1 + 1"]))
    Rootage::ScenarioTest.fail(@cmd.new(["-e", "1 +"]))
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
pione-0.5.0 test/command/spec_pione-lang-check-syntax.rb
pione-0.5.0.alpha.2 test/command/spec_pione-lang-check-syntax.rb
pione-0.5.0.alpha.1 test/command/spec_pione-lang-check-syntax.rb
pione-0.4.2 test/command/spec_pione-lang-check-syntax.rb
pione-0.4.1 test/command/spec_pione-lang-check-syntax.rb
pione-0.4.0 test/command/spec_pione-lang-check-syntax.rb