Sha256: e0d2f72bce02ad12100034f4506b075bb603a1c925363f373e6ff3dba140b3a3
Contents?: true
Size: 296 Bytes
Versions: 21
Compression:
Stored size: 296 Bytes
Contents
require "spec_helper" RSpec.describe Code::Parser::Function do subject { Code::Parser.parse(input) } [ "() => {}", "(a, b) => { add(a, b) }", "(a:, b:) => { add(a, b) }" ].each do |input| context input do let(:input) { input } it { subject } end end end
Version data entries
21 entries across 21 versions & 3 rubygems