From d87c6b676855a8f19586e7ac637fe5f1dbc31cbc Mon Sep 17 00:00:00 2001
From: Damien George <damien.p.george@gmail.com>
Date: Fri, 17 Feb 2017 12:30:27 +1100
Subject: [PATCH] tests/basics/string_join: Add more tests for string
 concatenation.

---
 tests/basics/string_join.py | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/tests/basics/string_join.py b/tests/basics/string_join.py
index b8694c01e..4a2e9aa91 100644
--- a/tests/basics/string_join.py
+++ b/tests/basics/string_join.py
@@ -25,3 +25,13 @@ except TypeError:
 
 # joined by the compiler
 print("a" "b")
+print("a" '''b''')
+print("a" # inline comment
+    "b")
+print("a" \
+    "b")
+
+# the following should not be joined by the compiler
+x = 'a'
+'b'
+print(x)
-- 
GitLab