about summary refs log tree commit diff
path: root/nixpkgs/pkgs/pkgs-lib/formats/hocon/test/comprehensive/expected.txt
blob: ec196be4f686e41779a0cad7f9942a5b465bc4eb (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
{
  "array2d" = [
    [
      1,
      2,
      "a"
    ],
    [
      2,
      1,
      "b"
    ]
  ]
  "cursed \" .attrs \" " = {
    "a" = 1
    "a b" = ${?a}
    "a b c" = ${?a b}
  }
  "misc attrs" = {
    "x" = 1
    "y" += {
      "a" = 1
    }
  }
  "nasty_string" = "\"@\n\\\t^*bf\n0\";'''$"
  "nested" = {
    "attrset" = {
      "has" = {
        "a" = {
          "integer" = {
            "value" = 100
          }
        }
      }
    }
  }
  "simple_top_level_attr" = "1.0"
  "some_floaty" = 29.95
  "to_include" = {
    include "/nix/store/ccnzr53dpipdacxgci3ii3bqacvb5hxm-hocon-test-include.conf"
    include "https://example.com"
    include required(file("/nix/store/ccnzr53dpipdacxgci3ii3bqacvb5hxm-hocon-test-include.conf"))
    include "/nix/store/ccnzr53dpipdacxgci3ii3bqacvb5hxm-hocon-test-include.conf"
    include url("https://example.com")
  }
}