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, 1 insertions, 3 deletions
diff --git a/test/language/snippets.rb b/test/language/snippets.rb
index cd8015db7..c42d67397 100755
--- a/test/language/snippets.rb
+++ b/test/language/snippets.rb
@@ -178,9 +178,7 @@ class TestSnippets < Test::Unit::TestCase
%w{a b c d}.each { |letter|
path = "/tmp/create#{letter}test"
assert_file(path)
- if %w{a b}.include?(letter)
- assert_mode_equal(0755, path)
- end
+ assert_mode_equal(0755, path) if %w{a b}.include?(letter)
}
end