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

Sources/ucode/tests/custom/99_bugs/13_split_by_string_leading_trailing

  1 When splitting a string, the existing uc_split() implementation failed
  2 to produce an empty leading and trailing result array element when the
  3 subject string started or ended with a delimitter.
  4 
  5 -- Expect stdout --
  6 [ "", "foo", "" ]
  7 -- End --
  8 
  9 -- Testcase --
 10 {{ split("/foo/", "/") }}
 11 -- End --

This page was automatically generated by LXR 0.3.1.  •  OpenWrt