summaryrefslogtreecommitdiff
path: root/bootstraptest/test_flip.rb
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-07-10 06:57:56 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-07-10 06:57:56 +0000
commitc0258a9ea6f06988f03d06b19d2174890c34b809 (patch)
treec5adebb26fb3af95c03e5e1c8114051418716e8e /bootstraptest/test_flip.rb
parentc18e8ad7e9f152880de35f4e1904e46693dcba57 (diff)
* bootstraptest/test_flip.rb: new test for flip-flop operator.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12728 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'bootstraptest/test_flip.rb')
-rw-r--r--bootstraptest/test_flip.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/bootstraptest/test_flip.rb b/bootstraptest/test_flip.rb
new file mode 100644
index 0000000..ff19486
--- /dev/null
+++ b/bootstraptest/test_flip.rb
@@ -0,0 +1 @@
+assert_equal %q{E}, %q{$_ = "E"; eval("nil if true..~/^E/",nil,"-e"); $_}