[macruby-changes] [960] MacRuby/branches/experimental/test_roxor.rb
source_changes at macosforge.org
source_changes at macosforge.org
Tue Mar 17 15:43:20 PDT 2009
Revision: 960
http://trac.macosforge.org/projects/ruby/changeset/960
Author: eloy.de.enige at gmail.com
Date: 2009-03-17 15:43:20 -0700 (Tue, 17 Mar 2009)
Log Message:
-----------
Added failing test for interpolating in a string and casting into a symbol again.
Modified Paths:
--------------
MacRuby/branches/experimental/test_roxor.rb
Modified: MacRuby/branches/experimental/test_roxor.rb
===================================================================
--- MacRuby/branches/experimental/test_roxor.rb 2009-03-17 22:31:06 UTC (rev 959)
+++ MacRuby/branches/experimental/test_roxor.rb 2009-03-17 22:43:20 UTC (rev 960)
@@ -415,6 +415,7 @@
p x
}
+
assert "42", %q{
foo = [42]
until (x = foo.pop).nil?
@@ -1091,3 +1092,7 @@
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
\ No newline at end of file
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20090317/2d31af7b/attachment-0001.html>
More information about the macruby-changes
mailing list