Bump to 1.14.1
[platform/upstream/augeas.git] / tests / modules / pass_create_del.aug
1 module Pass_Create_Del =
2
3 (* del, on create, would do another round of unescaping the default value
4  * which is wrong. See Issue #507 *)
5 let sep = del /:([ \t]*\\\\\n[ \t]*:)?/ ":\\\n\t:"
6
7 let lns = [ label "entry" . sep . store /[a-z]+/ ]*
8
9 test lns get ":a:\\\n:b" =
10   { "entry" = "a" }
11   { "entry" = "b" }
12
13 test lns put ":a" after
14   set "/entry[last()+1]" "b" = ":a:\\\n\t:b"