summaryrefslogtreecommitdiffstats
path: root/libcxx/test/std/input.output
diff options
context:
space:
mode:
authorStephan T. Lavavej <stl@microsoft.com>2019-10-22 15:19:40 -0700
committerStephan T. Lavavej <stl@microsoft.com>2019-10-22 15:22:13 -0700
commit437e0e5191ca255db27e86d232020844c1fd08c8 (patch)
treef7d291d2124d45a27f4825c61f4b0008df693ea7 /libcxx/test/std/input.output
parent19e95ab4210bedf36f0f50d54c39e8f7f4d879f2 (diff)
downloadbcm5719-llvm-437e0e5191ca255db27e86d232020844c1fd08c8.tar.gz
bcm5719-llvm-437e0e5191ca255db27e86d232020844c1fd08c8.zip
[libcxx][test][NFC] Fix comment typos.
(Testing git commit access.)
Diffstat (limited to 'libcxx/test/std/input.output')
-rw-r--r--libcxx/test/std/input.output/filesystems/class.path/path.member/path.gen/lexically_relative_and_proximate.pass.cpp2
-rw-r--r--libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.relative/relative.pass.cpp2
-rw-r--r--libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.weakly_canonical/weakly_canonical.pass.cpp2
-rw-r--r--libcxx/test/std/input.output/iostreams.base/fpos/fpos.operations/difference.pass.cpp2
-rw-r--r--libcxx/test/std/input.output/iostreams.base/fpos/fpos.operations/subtraction.pass.cpp2
5 files changed, 5 insertions, 5 deletions
diff --git a/libcxx/test/std/input.output/filesystems/class.path/path.member/path.gen/lexically_relative_and_proximate.pass.cpp b/libcxx/test/std/input.output/filesystems/class.path/path.member/path.gen/lexically_relative_and_proximate.pass.cpp
index 0466b8a708b..7f26a53482d 100644
--- a/libcxx/test/std/input.output/filesystems/class.path/path.member/path.gen/lexically_relative_and_proximate.pass.cpp
+++ b/libcxx/test/std/input.output/filesystems/class.path/path.member/path.gen/lexically_relative_and_proximate.pass.cpp
@@ -78,7 +78,7 @@ int main(int, char**) {
const fs::path proximate_output = p.lexically_proximate(TC.base);
// [path.gen] lexically_proximate
// Returns: If the value of lexically_relative(base) is not an empty path,
- // return it.Otherwise return *this.
+ // return it. Otherwise return *this.
const fs::path proximate_expected = output.native().empty() ? p
: output;
if (!PathEq(proximate_expected, proximate_output))
diff --git a/libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.relative/relative.pass.cpp b/libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.relative/relative.pass.cpp
index dda88f0fa0a..cd3c133e090 100644
--- a/libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.relative/relative.pass.cpp
+++ b/libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.relative/relative.pass.cpp
@@ -66,7 +66,7 @@ TEST_CASE(test_signature_5) {
TEST_CASE(test_signature_6) {
// FIXME? If the trailing separator occurs in a part of the path that exists,
- // it is ommitted. Otherwise it is added to the end of the result.
+ // it is omitted. Otherwise it is added to the end of the result.
fs::path p(StaticEnv::SymlinkToDir / "dir2/./");
const fs::path output = fs::weakly_canonical(p);
TEST_CHECK(output == std::string(StaticEnv::Dir / "dir2"));
diff --git a/libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.weakly_canonical/weakly_canonical.pass.cpp b/libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.weakly_canonical/weakly_canonical.pass.cpp
index 30e3a84ec2a..ed9105652c9 100644
--- a/libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.weakly_canonical/weakly_canonical.pass.cpp
+++ b/libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.weakly_canonical/weakly_canonical.pass.cpp
@@ -45,7 +45,7 @@ int main(int, char**) {
{StaticEnv::SymlinkToDir, StaticEnv::Dir},
{StaticEnv::SymlinkToDir / "dir2/.", StaticEnv::Dir / "dir2"},
// FIXME? If the trailing separator occurs in a part of the path that exists,
- // it is ommitted. Otherwise it is added to the end of the result.
+ // it is omitted. Otherwise it is added to the end of the result.
{StaticEnv::SymlinkToDir / "dir2/./", StaticEnv::Dir / "dir2"},
{StaticEnv::SymlinkToDir / "dir2/DNE/./", StaticEnv::Dir / "dir2/DNE/"},
{StaticEnv::SymlinkToDir / "dir2", StaticEnv::Dir2},
diff --git a/libcxx/test/std/input.output/iostreams.base/fpos/fpos.operations/difference.pass.cpp b/libcxx/test/std/input.output/iostreams.base/fpos/fpos.operations/difference.pass.cpp
index 88890562b35..07311347579 100644
--- a/libcxx/test/std/input.output/iostreams.base/fpos/fpos.operations/difference.pass.cpp
+++ b/libcxx/test/std/input.output/iostreams.base/fpos/fpos.operations/difference.pass.cpp
@@ -10,7 +10,7 @@
// template <class StateT> class fpos
-// Subraction with fpos
+// Subtraction with fpos
#include <ios>
#include <cassert>
diff --git a/libcxx/test/std/input.output/iostreams.base/fpos/fpos.operations/subtraction.pass.cpp b/libcxx/test/std/input.output/iostreams.base/fpos/fpos.operations/subtraction.pass.cpp
index 83d03861b39..d55b2e67036 100644
--- a/libcxx/test/std/input.output/iostreams.base/fpos/fpos.operations/subtraction.pass.cpp
+++ b/libcxx/test/std/input.output/iostreams.base/fpos/fpos.operations/subtraction.pass.cpp
@@ -10,7 +10,7 @@
// template <class StateT> class fpos
-// Subraction with offset
+// Subtraction with offset
#include <ios>
#include <cassert>
OpenPOWER on IntegriCloud