()
| 193 | } |
| 194 | |
| 195 | func testOptions() *options.Options { |
| 196 | o := options.New() |
| 197 | o.Set("string_key", "string_value") |
| 198 | o.Set("int_key", 42) |
| 199 | o.Set("float_key", 3.14) |
| 200 | o.Set("bool_key", true) |
| 201 | o.Set("group1.key1", "value1") |
| 202 | o.Set("group1.key2", 100) |
| 203 | o.Set("group2.key1", false) |
| 204 | o.Set("group2.key2", 2.71) |
| 205 | o.Set("group2.subgroup.key", "subvalue") |
| 206 | o.Set("group2.subgroup.num", 256) |
| 207 | return o |
| 208 | } |
| 209 | |
| 210 | func testNestedOptions() *options.Options { |
| 211 | o := testOptions() |
no test coverage detected