From 67382c15f7e9176dea44c3da7f7013759c88ce33 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 21 Jan 2016 15:03:26 +0200 Subject: Add support for ==, != in eval context --- tests/if-else/buildfile | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'tests/if-else/buildfile') diff --git a/tests/if-else/buildfile b/tests/if-else/buildfile index 30da40f..2b87b8c 100644 --- a/tests/if-else/buildfile +++ b/tests/if-else/buildfile @@ -106,6 +106,23 @@ if! $f ./: +# With eval context. +# +if (foo == foo) +{ + print 1 +} + +if(foo != bar) +{ + print 1 +} + +if!(foo == bar) +{ + print 1 +} + # EOF test. # if true -- cgit v1.1