fix(ci): Update test

This commit is contained in:
Michael Carlberg 2017-01-14 10:02:44 +01:00
parent 6250a2b746
commit 9ce384b7e8

View File

@ -100,10 +100,10 @@ int main() {
expect(string_util::filesize(3 * 1024 * 1024) == "3 GB");
};
"stringstream"_test = [] {
"sstream"_test = [] {
string s;
expect((s = (stringstream() << "test")) == "test"s);
expect((s = (stringstream() << std::setprecision(2) << std::fixed << 1.25)).erase(0, 2) == "25"s);
expect((s = (sstream() << "test")) == "test"s);
expect((s = (sstream() << std::setprecision(2) << std::fixed << 1.25)).erase(0, 2) == "25"s);
};
"operators"_test = [] {