• Peter Griess's avatar
    Explicitly use !basic_istream::fail() in test. · 209fa4a8
    Peter Griess authored
    Summary:
    - Looks like libc++ doesn't support operator bool() for streams? Use
    !fail() explicitly to work around this.
    
    Test Plan:
    - fbconfig -r folly && fbmake runtests
    - ./configure && make check on Ubuntu/FC/Mac
    
    Reviewed By: andrei.alexandrescu@fb.com
    
    FB internal diff: D998596
    209fa4a8
FBStringTest.cpp 35.1 KB