diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2016-01-21 15:03:26 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2016-01-21 15:03:26 +0200 |
commit | 67382c15f7e9176dea44c3da7f7013759c88ce33 (patch) | |
tree | 5ff4fe1436792a01d4a8576f1e0efa3ce2ff9c20 /tests/if-else/buildfile | |
parent | 41f091f46b47c20dc1571db5d56a1eaade25cb1e (diff) |
Add support for ==, != in eval context
Diffstat (limited to 'tests/if-else/buildfile')
-rw-r--r-- | tests/if-else/buildfile | 17 |
1 files changed, 17 insertions, 0 deletions
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 |