File tree Expand file tree Collapse file tree 1 file changed +15
-19
lines changed Expand file tree Collapse file tree 1 file changed +15
-19
lines changed Original file line number Diff line number Diff line change @@ -88,25 +88,21 @@ var parseConfigFileTextToJsonTests = []struct {
88
88
}` ,
89
89
},
90
90
},
91
- // { todo: fix this test
92
- // title: "handles escaped characters in strings correctly",
93
- // input: []string{
94
- // `{
95
- // "exclude": [
96
- // "xx\\"//files"
97
- // ]
98
- // }`,
99
- // `{
100
- // "exclude": [
101
- // "xx\\\\" // end of line comment
102
- // ]
103
- // }`,
104
- // },
105
- // output: []map[string]any{
106
- // {"exclude": []string{"xx\"//files"}},
107
- // {"exclude": []string{"xx\\"}},
108
- // },
109
- // },
91
+ {
92
+ title : "handles escaped characters in strings correctly" ,
93
+ input : []string {
94
+ `{
95
+ "exclude": [
96
+ "xx\"//files"
97
+ ]
98
+ }` ,
99
+ `{
100
+ "exclude": [
101
+ "xx\\" // end of line comment
102
+ ]
103
+ }` ,
104
+ },
105
+ },
110
106
{
111
107
title : "returns object when users correctly specify library" ,
112
108
input : []string {
You can’t perform that action at this time.
0 commit comments