Skip to content

Commit

Permalink
Test from domcleal that only succeeds when AUGEAS_NO_SHIFT is set
Browse files Browse the repository at this point in the history
  • Loading branch information
lutter committed Mar 8, 2018
1 parent 131fc06 commit a751aca
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion lenses/tests/test_inifile.aug
Original file line number Diff line number Diff line change
Expand Up @@ -390,7 +390,19 @@ ticket_243 = \"value1;value2#value3\" # end of line comment
{ "#comment" = "comment with colon" }
{ }
}

test IniFile.lns_loose_multiline get multiline_test =
{ "section" = ".anon" { "test_ace" = "val1\n val2\n val3" } }


let simpler_lens = (IniFile.empty | IniFile.comment IniFile.comment_re IniFile.comment_default)*

test simpler_lens put "## Default value: /etc/zypp
##
# configdir = /etc/zypp

##\n" after rm "/#comment[2]" =
"## Default value: /etc/zypp
# configdir = /etc/zypp

##\n"

0 comments on commit a751aca

Please sign in to comment.