mirror of
https://github.com/haml/haml.git
synced 2022-11-09 12:33:31 -05:00
Add test for static_analyzer_test
This commit is contained in:
parent
bf4b0af778
commit
57016e4222
1 changed files with 1 additions and 0 deletions
|
@ -32,6 +32,7 @@ describe Hamlit::StaticAnalyzer do
|
|||
it { assert_static(false, '"" + bar') }
|
||||
it { assert_static(false, '"" ** bar') }
|
||||
it { assert_static(false, '"".gsub(/foo/, "bar")') }
|
||||
it { assert_static(false, '"".freeze') }
|
||||
it { assert_static(false, '1.times {}') }
|
||||
it { assert_static(false, '[3, 1.2, [2i, "hello #{ nya } world"]]') }
|
||||
it { assert_static(false, 'self') }
|
||||
|
|
Loading…
Reference in a new issue