Skip to content
Snippets Groups Projects
  • Nat Goodspeed's avatar
    1df282ef
    DRTVWR-418: Fix streamtools test. · 1df282ef
    Nat Goodspeed authored
    When std::istream::good() returns false, presumably we can no longer rely on
    get() returning valid data. Certain streamtools tests were assuming that get()
    would return the empty string at EOF, but in fact it appears that it left the
    previous buffer contents unmodified.
    1df282ef
    History
    DRTVWR-418: Fix streamtools test.
    Nat Goodspeed authored
    When std::istream::good() returns false, presumably we can no longer rely on
    get() returning valid data. Certain streamtools tests were assuming that get()
    would return the empty string at EOF, but in fact it appears that it left the
    previous buffer contents unmodified.
Code owners
Assign users and groups as approvers for specific file changes. Learn more.