• source navigation  • diff markup  • identifier search  • freetext search  • 

Sources/uci/tests/cram/lua/test_cases/changes_doesnt_leak.lua

  1 local A = assert
  2 local c = uci.cursor(os.getenv("CONFIG_DIR"))
  3 
  4 A(c:set("network", "lan", "dns", {
  5         "ns1.king.banik.cz",
  6         "ns2.openwrt.org",
  7 }))
  8 
  9 local changes = c:changes()
 10 A(changes.network.lan.dns[1] == "ns1.king.banik.cz")
 11 A(changes.network.lan.dns[2] == "ns2.openwrt.org")

This page was automatically generated by LXR 0.3.1.  •  OpenWrt