spec/code/parser/ternary_spec.rb in code-ruby-parser-0.1.2 vs spec/code/parser/ternary_spec.rb in code-ruby-parser-0.1.3
- old
+ new
@@ -5,10 +5,10 @@
["a ? b : c", "a ? b", "a ? b ? c : d : e", "a ? b ? c : d"].each do |input|
context input do
let!(:input) { input }
- it { expect { subject }.to_not raise_error }
+ it { subject }
end
end
[
"a /* cool */ ? b : c",