From kde-commits Wed Oct 24 22:37:04 2012 From: Alexander Dymo Date: Wed, 24 Oct 2012 22:37:04 +0000 To: kde-commits Subject: [kdev-ruby] duchain/tests: One more failing heredoc test, this time with weird heredoc markers Message-Id: <20121024223704.D0F65A6078 () git ! kde ! org> X-MARC-Message: https://marc.info/?l=kde-commits&m=135111823430106 Git commit 81028adaed303e2b9ab6a05c3e5ce717ecf7d14f by Alexander Dymo. Committed on 25/10/2012 at 00:36. Pushed by dymo into branch 'master'. One more failing heredoc test, this time with weird heredoc markers '.,.,', used by rack parser generators M +7 -0 duchain/tests/duchain.cpp http://commits.kde.org/kdev-ruby/81028adaed303e2b9ab6a05c3e5ce717ecf7d14f diff --git a/duchain/tests/duchain.cpp b/duchain/tests/duchain.cpp index 46c4e77..3bcd7e1 100644 --- a/duchain/tests/duchain.cpp +++ b/duchain/tests/duchain.cpp @@ -405,6 +405,13 @@ EOS\n\ "); TopDUContext *top =3D parse(code, "hereDoc"); = + QByteArray code2("\ +<<'.,.,'\n\ + smth\n\ +.,.,\n\ +"); + TopDUContext *top2 =3D parse(code2, "hereDoc"); + DOES_NOT_CRASH; } =20