projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1354a03
)
Add a comment to TarWriterTest.LongFilename
author
Nico Weber
<thakis@chromium.org>
Mon, 27 Apr 2020 17:58:53 +0000
(13:58 -0400)
committer
Nico Weber
<thakis@chromium.org>
Mon, 27 Apr 2020 17:59:02 +0000
(13:59 -0400)
llvm/unittests/Support/TarWriterTest.cpp
patch
|
blob
|
history
diff --git
a/llvm/unittests/Support/TarWriterTest.cpp
b/llvm/unittests/Support/TarWriterTest.cpp
index 5bbc6615ea5d23331bf0fe7a70c4312fb5d30ee5..579c06d754725142e2b9901a7f91d600824c15c0 100644
(file)
--- a/
llvm/unittests/Support/TarWriterTest.cpp
+++ b/
llvm/unittests/Support/TarWriterTest.cpp
@@
-81,6
+81,8
@@
TEST_F(TarWriterTest, Basics) {
}
TEST_F(TarWriterTest, LongFilename) {
+ // The prefix is prefixed by an additional '/' so it's one longer than the
+ // number of x's here.
std::string x136(136, 'x');
std::string x137(137, 'x');
std::string y99(99, 'y');