From 1e53f7ede9cb95494a45a15cd8628d85152b535a Mon Sep 17 00:00:00 2001 From: Geoff Shannon Date: Sun, 16 Nov 2014 17:13:13 -0500 Subject: [PATCH] Remove tests passing negative arguments This doesn't work because the Command library has some deficiencies... One of them being that it's hard to stop processing arguments as flags and then continue processing them. janestreet/core#24 has more info about the way this currently works. --- test/postfix-tests | 3 --- 1 file changed, 3 deletions(-) diff --git a/test/postfix-tests b/test/postfix-tests index c330a47..3536382 100644 --- a/test/postfix-tests +++ b/test/postfix-tests @@ -4,7 +4,6 @@ 2 [3 4] 3 2 swap [3 4] 4 3 pop swap [3 4 5] 5 -1 4 sub [3] -1 1 4 add 5 mul 6 sub 7 div [3] 4 5 add mul sub swap div [7 6 5 4 3] -20 3 4000 swap pop add [300 20 1] 4020 @@ -21,11 +20,9 @@ 1 (2 mul) exec [7] 14 0 (0 swap sub) 7 swap exec [] -7 0 (7 swap exec) (0 swap sub) swap exec [] -7 -2 (mul sub) (1 nget mul) 4 nget swap exec swap exec [-10 2] 42 1 2 3 sel [1] 2 1 2 3 sel [0] 3 1 2 3 sel [17] 2 4 lt (add) (mul) sel exec [3 4 5 6] 30 4 lt (add) (mul) sel exec [4 3 5 6] 11 -1 1 nget 0 lt (0 swap sub) () sel exec [-7] 7 1 1 nget 0 lt (0 swap sub) () sel exec [6] 6