aboutsummaryrefslogtreecommitdiff
path: root/thirdparty/ryml/test/test_empty_file.cpp
blob: 38e66fbaf5a9f414b3967457095afe21bc235e4f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
#include "./test_group.hpp"

namespace c4 {
namespace yml {


CASE_GROUP(EMPTY_FILE)
{

ADD_CASE_TO_GROUP("empty0-nochars",
"",
NOTYPE);


ADD_CASE_TO_GROUP("empty0-multiline", R"(


)", NOTYPE);


ADD_CASE_TO_GROUP("empty0-multiline with spaces", R"(

    
     
      


)", NOTYPE);


ADD_CASE_TO_GROUP("empty0-multiline with spaces and tabs", R"(

    
   		  
      
		


)", NOTYPE);


ADD_CASE_TO_GROUP("empty0-multiline-with-comments 0", R"(
# well hello sir, I see you are fine
# very fine thank you
# send my very best wishes
)", NOTYPE);

ADD_CASE_TO_GROUP("empty0-multiline-with-comments 1", R"(



# well hello sir, I see you are fine
# very fine thank you
# send my very best wishes



)", NOTYPE);

ADD_CASE_TO_GROUP("empty0-multiline-with-comments 2", R"(

      
    		

# well hello sir, I see you are fine
# very fine thank you
# send my very best wishes


    		
      


)", NOTYPE);

}

} // namespace yml
} // namespace c4