anoved / Shapetcl

Simple shapefile access for Tcl.
MIT License
3 stars 0 forks source link

Test [fields add] w/empty field definition list #41

Closed anoved closed 11 years ago

anoved commented 11 years ago

It should require at least one definition. At present I think it does not, and returns a misleading 0 index value.

anoved commented 11 years ago

My bad. (My good?) This case is indeed already handled by _fieldsValidate.