kopia lustrzana https://github.com/micropython/micropython
tests/basics/string_join: Add more tests for string concatenation.
rodzic
c889f01b8d
commit
d87c6b6768
|
@ -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)
|
||||
|
|
Ładowanie…
Reference in New Issue