This is an automated email from the ASF dual-hosted git repository.
amc pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficserver.git
The following commit(s) were added to refs/heads/master by this push:
new 11110ec Fix #5108: Remove OS dependency in test_BufferWriterFormat.cc.
11110ec is described below
commit 11110ec732dd4f130cbb73d3b8005056dd9d4ef0
Author: Alan M. Carroll <[email protected]>
AuthorDate: Mon Mar 4 15:49:21 2019 -0600
Fix #5108: Remove OS dependency in test_BufferWriterFormat.cc.
---
src/tscore/unit_tests/test_BufferWriterFormat.cc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/tscore/unit_tests/test_BufferWriterFormat.cc
b/src/tscore/unit_tests/test_BufferWriterFormat.cc
index 6e0062e..d6f2858 100644
--- a/src/tscore/unit_tests/test_BufferWriterFormat.cc
+++ b/src/tscore/unit_tests/test_BufferWriterFormat.cc
@@ -522,7 +522,7 @@ TEST_CASE("bwstring std formats", "[libts][bwprint]")
w.print("{}", ts::bwf::Errno(13));
REQUIRE(w.view() == "EACCES: Permission denied [13]"sv);
w.reset().print("{}", ts::bwf::Errno(134));
- REQUIRE(w.view().substr(0, 22) == "Unknown: Unknown error"sv);
+ REQUIRE(w.view().substr(0, 9) == "Unknown: "sv);
time_t t = 1528484137;
// default is GMT