[macruby-changes] [966] MacRuby/branches/experimental/test_roxor.rb
source_changes at macosforge.org
source_changes at macosforge.org
Tue Mar 17 16:19:24 PDT 2009
Revision: 966
http://trac.macosforge.org/projects/ruby/changeset/966
Author: lsansonetti at apple.com
Date: 2009-03-17 16:19:24 -0700 (Tue, 17 Mar 2009)
Log Message:
-----------
moved the symbol tests to the literal section + adding new (failing) tests regarding symbols
Modified Paths:
--------------
MacRuby/branches/experimental/test_roxor.rb
Modified: MacRuby/branches/experimental/test_roxor.rb
===================================================================
--- MacRuby/branches/experimental/test_roxor.rb 2009-03-17 23:18:19 UTC (rev 965)
+++ MacRuby/branches/experimental/test_roxor.rb 2009-03-17 23:19:24 UTC (rev 966)
@@ -243,6 +243,11 @@
assert '"foo246bar"', "p \"foo#{1+1}#{2+2}#{3+3}bar\""
+ assert ":ok", 'p :ok'
+ assert ":\"foo\"", 'p :"foo"'
+ assert ":ok", 'p :"#{:ok}"'
+ assert ":\"42\"", 'p :"#{40+2}"'
+
end
test "assign" do
@@ -1097,8 +1102,5 @@
assert '-5', "def f(a, b, d, g, c=1, e=2, f=3); end; p method(:f).arity"
assert '-5', "def f(a, b, d, g, *args); end; p method(:f).arity"
assert '4', "def f(a, b, d, g); end; p method(:f).arity"
-end
-test "symbol" do
- assert ":ok", 'p :"#{:ok}"'
end
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20090317/c22feb40/attachment-0001.html>
More information about the macruby-changes
mailing list