summaryrefslogtreecommitdiffstats
path: root/test/language/snippets.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/language/snippets.rb')
-rwxr-xr-xtest/language/snippets.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/language/snippets.rb b/test/language/snippets.rb
index 87ad9e770..cfca10e13 100755
--- a/test/language/snippets.rb
+++ b/test/language/snippets.rb
@@ -481,6 +481,10 @@ class TestSnippets < Test::Unit::TestCase
assert_mode_equal(0600, path)
end
+ def snippet_ifexpression
+ assert_file("/tmp/testiftest","if test");
+ end
+
# Iterate across each of the snippets and create a test.
Dir.entries(snippetdir).sort.each { |file|
next if file =~ /^\./