summaryrefslogtreecommitdiff
path: root/t/t4034/ruby/post
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2011-02-09 16:41:17 -0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2011-02-09 16:41:17 -0800
commit1bb4abeff7e541ccfd7c87f5369b090829346e68 (patch)
tree7e9dae7f6a5aba1d5241851bd46c6f7f458ebaf6 /t/t4034/ruby/post
parentMerge branch 'rr/fi-import-marks-if-exists' (diff)
parentt4034 (diff --word-diff): add a minimum Perl drier test vector (diff)
downloadtgif-1bb4abeff7e541ccfd7c87f5369b090829346e68.tar.xz
Merge branch 'tr/diff-words-test'
* tr/diff-words-test: t4034 (diff --word-diff): add a minimum Perl drier test vector t4034 (diff --word-diff): style suggestions userdiff: simplify word-diff safeguard t4034: bulk verify builtin word regex sanity
Diffstat (limited to 't/t4034/ruby/post')
-rw-r--r--t/t4034/ruby/post17
1 files changed, 17 insertions, 0 deletions
diff --git a/t/t4034/ruby/post b/t/t4034/ruby/post
new file mode 100644
index 0000000000..7678f14e14
--- /dev/null
+++ b/t/t4034/ruby/post
@@ -0,0 +1,17 @@
+10.downto(1) {|y| puts y}
+(1) (-1e10) (0xabcdef) 'y'
+[x] x->y x.y
+!x ~x x++ x-- x*y x&y
+x*y x/y x%y
+x+y x-y
+x<<y x>>y
+x<y x<=y x>y x>=y
+x==y x!=y
+x&y
+x^y
+x|y
+x&&y
+x||y
+x?y:z
+x=y x+=y x-=y x*=y x/=y x%=y x<<=y x>>=y x&=y x^=y x|=y
+x,y