Sha256: 98d59421a7ea51844af73a76d81f6a189d8b63bbc03c8fae85ba255fde3c5068
Contents?: true
Size: 337 Bytes
Versions: 21
Compression:
Stored size: 337 Bytes
Contents
require "spec_helper" RSpec.describe "range" do let(:timeout) { 0 } subject { Code.evaluate(input, timeout: timeout).to_s } [ ["(0..1).to_list", "[0, 1]"], ["(0...1).to_list", "[0]"] ].each do |input, output| context input do let(:input) { input } it { expect(subject).to eq(output) } end end end
Version data entries
21 entries across 21 versions & 3 rubygems