Sha256: bc35a48a6b0bb3c90abca0d57d54678564d8eae00bb654470f28b0b7b79a19ca

Contents?: true

Size: 251 Bytes

Versions: 13

Compression:

Stored size: 251 Bytes

Contents

require_relative "../../spec_helper"

describe Rsense::Server::Parser do
  it "parses comments" do
    parser = Rsense::Server::Parser.new
    root = parser.parse_string("#a comment\n'A string'")
    root.find_node(:comment).wont_be_nil    
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
rsense-server-0.5.18 spec/rsense/server/parser_spec.rb
rsense-server-0.5.17 spec/rsense/server/parser_spec.rb
rsense-server-0.5.16 spec/rsense/server/parser_spec.rb
rsense-server-0.5.15 spec/rsense/server/parser_spec.rb
rsense-server-0.5.14 spec/rsense/server/parser_spec.rb
rsense-server-0.5.13 spec/rsense/server/parser_spec.rb
rsense-server-0.5.12 spec/rsense/server/parser_spec.rb
rsense-server-0.5.11 spec/rsense/server/parser_spec.rb
rsense-server-0.5.10 spec/rsense/server/parser_spec.rb
rsense-server-0.5.9 spec/rsense/server/parser_spec.rb
rsense-server-0.5.8 spec/rsense/server/parser_spec.rb
rsense-server-0.5.7 spec/rsense/server/parser_spec.rb
rsense-server-0.5.6 spec/rsense/server/parser_spec.rb