early-access version 1255
This commit is contained in:
65
externals/inih/inih/tests/baseline_disallow_inline_comments.txt
vendored
Executable file
65
externals/inih/inih/tests/baseline_disallow_inline_comments.txt
vendored
Executable file
@@ -0,0 +1,65 @@
|
||||
no_file.ini: e=-1 user=0
|
||||
... [section1]
|
||||
... one=This is a test ; name=value comment;
|
||||
... two=1234;
|
||||
... [ section 2 ]
|
||||
... happy=4;
|
||||
... sad=;
|
||||
... [comment_test]
|
||||
... test1=1;2;3 ; only this will be a comment;
|
||||
... test2=2;3;4;this won't be a comment, needs whitespace before ';';
|
||||
... test;3=345 ; key should be "test;3";
|
||||
... test4=4#5#6 ; '#' only starts a comment at start of line;
|
||||
... test7=; blank value, except if inline comments disabled;
|
||||
... test8=; not a comment, needs whitespace before ';';
|
||||
... [colon_tests]
|
||||
... Content-Type=text/html;
|
||||
... foo=bar;
|
||||
... adams=42;
|
||||
... funny1=with = equals;
|
||||
... funny2=with : colons;
|
||||
... funny3=two = equals;
|
||||
... funny4=two : colons;
|
||||
normal.ini: e=0 user=101
|
||||
... [section1]
|
||||
... name1=value1;
|
||||
... [section3 ; comment ]
|
||||
... name2=value2;
|
||||
bad_section.ini: e=3 user=102
|
||||
bad_comment.ini: e=1 user=102
|
||||
... [section]
|
||||
... a=b;
|
||||
... user=parse_error;
|
||||
... c=d;
|
||||
user_error.ini: e=3 user=104
|
||||
... [section1]
|
||||
... single1=abc;
|
||||
... multi=this is a;
|
||||
... multi=multi-line value;
|
||||
... single2=xyz;
|
||||
... [section2]
|
||||
... multi=a;
|
||||
... multi=b;
|
||||
... multi=c;
|
||||
... [section3]
|
||||
... single=ghi;
|
||||
... multi=the quick;
|
||||
... multi=brown fox;
|
||||
... name=bob smith ; comment line 1;
|
||||
multi_line.ini: e=0 user=105
|
||||
bad_multi.ini: e=1 user=105
|
||||
... [bom_section]
|
||||
... bom_name=bom_value;
|
||||
... key“=value“;
|
||||
bom.ini: e=0 user=107
|
||||
... [section1]
|
||||
... single1=abc;
|
||||
... single2=xyz;
|
||||
... single1=def;
|
||||
... single2=qrs;
|
||||
duplicate_sections.ini: e=0 user=108
|
||||
... [section0]
|
||||
... key0=val0;
|
||||
... [section1]
|
||||
... key1=val1;
|
||||
no_value.ini: e=2 user=109
|
Reference in New Issue
Block a user