diff options
author | June McEnroe <june@causal.agency> | 2018-11-22 16:05:51 -0500 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2018-11-22 16:05:51 -0500 |
commit | 8ee3459cdb3152b9ef551c97041c725ae816977d (patch) | |
tree | edbbc08d01bed996de6b860cbab2523a3787e795 /bin/edi/iter.c | |
parent | Reorganize ignored directories (diff) | |
download | src-8ee3459cdb3152b9ef551c97041c725ae816977d.tar.gz src-8ee3459cdb3152b9ef551c97041c725ae816977d.zip |
Simplify edi file reading
Diffstat (limited to 'bin/edi/iter.c')
-rw-r--r-- | bin/edi/iter.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/edi/iter.c b/bin/edi/iter.c index a4c97b71..cb34fc2d 100644 --- a/bin/edi/iter.c +++ b/bin/edi/iter.c @@ -79,6 +79,7 @@ int main() { assert(L'B' == iter(&table, 1).ch); assert(L'C' == iter(&table, 2).ch); assert(L'D' == iter(&table, 3).ch); + assert(WEOF == iter(&table, 4).ch); assert(L'B' == iterNext(iter(&table, 0)).ch); assert(L'C' == iterNext(iter(&table, 1)).ch); |