1
0
Fork 0
mirror of https://github.com/haml/haml.git synced 2022-11-09 12:33:31 -05:00

100% Rcov

git-svn-id: svn://hamptoncatlin.com/haml/trunk@354 7063305b-7217-0410-af8c-cdc13e5119b9
This commit is contained in:
nex3 2007-02-06 08:34:41 +00:00
parent b200bb4920
commit 0a9a2da0e2

View file

@ -567,10 +567,8 @@ END
end
flattened = (action == '~')
if flattened && !defined?(Test::Unit)
warn(FLAT_WARNING)
end
warn(FLAT_WARNING) if flattened && !defined?(Test::Unit)
value_exists = !value.empty?
attributes_hash = "nil" unless attributes_hash