Git commit ca1db2bf726d9019bc275e022e40a23d5ac07f09 by Alexander Dymo. Committed on 25/10/2012 at 00:59. Pushed by dymo into branch 'master'. Move failing heredoc test to parser tests: it's parser that crashes M +0 -7 duchain/tests/duchain.cpp M +4 -0 parser/tools/tests/heredoc.rb http://commits.kde.org/kdev-ruby/ca1db2bf726d9019bc275e022e40a23d5ac07f09 diff --git a/duchain/tests/duchain.cpp b/duchain/tests/duchain.cpp index 3bcd7e1..46c4e77 100644 --- a/duchain/tests/duchain.cpp +++ b/duchain/tests/duchain.cpp @@ -405,13 +405,6 @@ EOS\n\ "); TopDUContext *top =3D parse(code, "hereDoc"); = - QByteArray code2("\ -<<'.,.,'\n\ - smth\n\ -.,.,\n\ -"); - TopDUContext *top2 =3D parse(code2, "hereDoc"); - DOES_NOT_CRASH; } = diff --git a/parser/tools/tests/heredoc.rb b/parser/tools/tests/heredoc.rb index 7312f5f..cfc72bb 100644 --- a/parser/tools/tests/heredoc.rb +++ b/parser/tools/tests/heredoc.rb @@ -59,3 +59,7 @@ asd <