Skip to content

Commit

Permalink
[Truffle] PE tests broken.
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisseaton committed Oct 22, 2014
1 parent d84dadb commit 3f72e2c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions test/truffle/pe/language/metaprogramming_pe.rb
Expand Up @@ -20,17 +20,17 @@ def existing_method(a)

PETests.tests do

example "A call that results in #method_missing" do
broken_example "A call that results in #method_missing" do
method_missing = MetaprogrammingFixtures::MethodMissing.new
truffle_assert_constant method_missing.does_not_exist
end

example "#respond_to? on a method that does exist" do
broken_example "#respond_to? on a method that does exist" do
object_with_existing_method = MetaprogrammingFixtures::ClassWithExistingMethod.new
truffle_assert_constant object_with_existing_method.respond_to? :existing_method
end

example "#send on a method that exists using a symbol" do
broken_example "#send on a method that exists using a symbol" do
object_with_existing_method = MetaprogrammingFixtures::ClassWithExistingMethod.new
truffle_assert_constant object_with_existing_method.send(:existing_method, 14)
end
Expand Down
2 changes: 1 addition & 1 deletion test/truffle/pe/macro/pushing_pixels_pe.rb
Expand Up @@ -29,7 +29,7 @@ def method_missing(method, *args)

PETests.tests do

example "A set of constants used in a literal hash, mapped to an array, indexed, used in an array literal, sorted, indexed, and added, all via method_missing, respond_to? and send" do
broken_example "A set of constants used in a literal hash, mapped to an array, indexed, used in an array literal, sorted, indexed, and added, all via method_missing, respond_to? and send" do
bar = PushingPixelsFixtures::Bar.new
truffle_assert_constant bar.foo(14, 8, 6)
end
Expand Down

0 comments on commit 3f72e2c

Please sign in to comment.