Skip to content

Commit

Permalink
Marked multibyte test pending for 1.8.6
Browse files Browse the repository at this point in the history
  • Loading branch information
cjheath committed Sep 11, 2009
1 parent 074aa28 commit 0135c7a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bin/tt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env ruby
require 'optparse'
require 'rubygems'
gem 'treetop'
require 'treetop'

$LOAD_PATH.unshift(File.expand_path(File.dirname(__FILE__) + "/../lib"))
require 'treetop'
Expand Down
1 change: 1 addition & 0 deletions spec/compiler/multibyte_chars_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ module MultibyteCharsSpec
testing_expression '[æøå]+ "a"'
it "lazily instantiates a node for the character" do
result = parse_multibyte('æøåa')
pending "Multibyte support is not supported in Ruby 1.8.6" if RUBY_VERSION =~ /^1\.8.6/
result.elements[0].instance_variable_get("@elements").should include(true)
result.elements[0].elements.should_not include(true)
result.elements[0].elements.size.should == 3
Expand Down
2 changes: 1 addition & 1 deletion treetop.gemspec
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
require "lib/treetop/version"
require "treetop/version"
$gemspec = Gem::Specification.new do |s|
s.name = "treetop"
s.version = Treetop::VERSION::STRING
Expand Down

0 comments on commit 0135c7a

Please sign in to comment.