[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: [kdev-ruby] duchain/tests: One more failing heredoc test, this time with weird heredoc markers
From: Alexander Dymo <adymo () kdevelop ! org>
Date: 2012-10-24 22:37:04
Message-ID: 20121024223704.D0F65A6078 () git ! kde ! org
[Download RAW message or body]
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 = parse(code, "hereDoc");
+ QByteArray code2("\
+<<'.,.,'\n\
+ smth\n\
+.,.,\n\
+");
+ TopDUContext *top2 = parse(code2, "hereDoc");
+
DOES_NOT_CRASH;
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic