1
0
Fork 0
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:
Takashi Kokubun 2015-11-24 02:16:05 +09:00
parent bf4b0af778
commit 57016e4222

View file

@ -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') }