mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
toml: fix scanner escape collecting in literal strings (#12022)
This commit is contained in:
12
vlib/toml/tests/testdata/strings_test.toml
vendored
12
vlib/toml/tests/testdata/strings_test.toml
vendored
@@ -13,3 +13,15 @@ two_space = """ ""two quotes"" """
|
||||
|
||||
mismatch1 = """aaa'''bbb"""
|
||||
mismatch2 = '''aaa"""bbb'''
|
||||
|
||||
lit1 = '\'
|
||||
lit2 = '\\'
|
||||
lit3 = '\tricky\'
|
||||
|
||||
ml_lit1 = '''
|
||||
\'''
|
||||
ml_lit2 = '''\
|
||||
\'''
|
||||
ml_lit3 = '''\
|
||||
tricky\
|
||||
'''
|
||||
|
||||
Reference in New Issue
Block a user