Mercurial > hgrepos > FreeBSD > ports > sysutils > local-bsdtools
diff tests/farray-alist.t @ 717:f4725ad5cd21
farray.sh: type tests for array and alist
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Fri, 04 Oct 2024 17:18:14 +0200 |
| parents | 36d953791e0c |
| children | 2502e077d5e9 |
line wrap: on
line diff
--- a/tests/farray-alist.t Fri Oct 04 15:45:51 2024 +0200 +++ b/tests/farray-alist.t Fri Oct 04 17:18:14 2024 +0200 @@ -373,3 +373,26 @@ [70] $ falist_destroy LIST $ check_no_alist_artifacts + + +Other Type Checks +================= + + $ falist_type + unknown (no-eol) + $ falist_type __UNKNOWN_VARIABLE__ + unknown (no-eol) + $ testvar='foo' + $ falist_type testvar + value (no-eol) + $ testvar='' + $ falist_type testvar + null (no-eol) + $ falist_isalist testvar + [1] + $ falist_create LIST + $ falist_type LIST + alist (no-eol) + $ falist_isalist LIST + $ falist_destroy LIST + $ check_no_alist_artifacts
