spec/code/parser/group_spec.rb in code-ruby-0.5.6 vs spec/code/parser/group_spec.rb in code-ruby-0.6.0

- old
+ new

@@ -1,18 +1,11 @@ +# frozen_string_literal: true + require "spec_helper" RSpec.describe Code::Parser::Group do - subject { Code::Parser.parse(input) } - - [ - [ - "(true (nothing))", - [{ group: [{ boolean: "true" }, { group: [{ nothing: "nothing" }] }] }] - ] - ].each do |input, output| - context input.inspect do - let(:input) { input } - - it { expect(subject).to eq(output) } + ["(true (nothing))"].each do |input| + it "parses #{input}" do + Code::Parser.parse(input) end end end