Sha256: 64d45165474b92b857ce98866bb037a0d9e02bbc971eb4b151a75143c642bcc2

Contents?: true

Size: 257 Bytes

Versions: 21

Compression:

Stored size: 257 Bytes

Contents

require "spec_helper"

RSpec.describe Code::Parser::Number do
  subject { Code::Parser.parse(input) }

  %w[0 1 1.1 123.123 1_000.12_244 0xf0 0o70 0b10].each do |input|
    context input do
      let(:input) { input }
      it { subject }
    end
  end
end

Version data entries

21 entries across 21 versions & 3 rubygems

Version Path
template-ruby-0.5.6 spec/code/parser/number_spec.rb
language-ruby-0.5.6 spec/code/parser/number_spec.rb
code-ruby-0.5.6 spec/code/parser/number_spec.rb
template-ruby-0.5.5 spec/code/parser/number_spec.rb
language-ruby-0.5.5 spec/code/parser/number_spec.rb
code-ruby-0.5.5 spec/code/parser/number_spec.rb
template-ruby-0.5.4 spec/code/parser/number_spec.rb
language-ruby-0.5.4 spec/code/parser/number_spec.rb
code-ruby-0.5.4 spec/code/parser/number_spec.rb
template-ruby-0.5.3 spec/code/parser/number_spec.rb
language-ruby-0.5.3 spec/code/parser/number_spec.rb
code-ruby-0.5.3 spec/code/parser/number_spec.rb
template-ruby-0.5.2 spec/code/parser/number_spec.rb
language-ruby-0.5.2 spec/code/parser/number_spec.rb
code-ruby-0.5.2 spec/code/parser/number_spec.rb
language-ruby-0.5.1 spec/code/parser/number_spec.rb
template-ruby-0.5.1 spec/code/parser/number_spec.rb
code-ruby-0.5.1 spec/code/parser/number_spec.rb
template-ruby-0.5.0 spec/code/parser/number_spec.rb
language-ruby-0.5.0 spec/code/parser/number_spec.rb