[libc++] Remove incorrect assertion in the filesystem tests
authorLouis Dionne <ldionne@apple.com>
Tue, 31 Mar 2020 14:05:34 +0000 (10:05 -0400)
committerLouis Dionne <ldionne@apple.com>
Tue, 31 Mar 2020 14:07:48 +0000 (10:07 -0400)
commita9c22739e675ad26093a8e584ab6bbc24f6a7bb3
tree07dec56df4698aaa839c5a8e1a8afdb8f75a1f4c
parentefe59d6717dcdf7777acb9b7a734e1a520bdf22a
[libc++] Remove incorrect assertion in the filesystem tests

Based on the current discussion in https://llvm.org/PR45307, it seems
that it's legitimate for `temp_directory_path()` to return a path with
a trailing slash. Since `p.parent_path()` will never contain a trailing
slash, comparing it to the result of `temp_directory_path()` will fail
depending on whether `temp_directory_path()` returns a trailing slash
or not.
libcxx/test/support/filesystem_test_helper.h