commit | 42e3d3923becbf8ebdf06af35b76c923b7265af5 | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Thu Oct 29 21:46:29 2020 -0600 |
committer | Simon Glass <sjg@chromium.org> | Thu Nov 05 09:11:31 2020 -0700 |
tree | c9245b03dd5a019e3e96048cdc2128af1e8bce35 | |
parent | 3b762cc201999f8e9c4c163751639ba3f97235e2 [diff] |
patman: Convert testBasic() to use an interator On balance it is easier to use an iterator here, particularly if we need to insert lines due to new functionality. The only niggle is the need to keep the previous iterator value around in one case. Convert this test to use iter(). Signed-off-by: Simon Glass <sjg@chromium.org>