forked from OSchip/llvm-project
Fix broken test, this wasn't supposed to get committed.
llvm-svn: 237291
This commit is contained in:
parent
6d9da4b290
commit
535a69112b
|
@ -28,12 +28,6 @@ class TestPaths(TestBase):
|
||||||
# No directory path types should have the filename set
|
# No directory path types should have the filename set
|
||||||
self.assertTrue (f.GetFilename() == None);
|
self.assertTrue (f.GetFilename() == None);
|
||||||
|
|
||||||
def test_filespec_resolve_doesnt_prepend_cwd_if_file_doesnt_exist (self):
|
|
||||||
file_only = lldb.SBFileSpec("VeryUnlikelToExistInTheCurrentWorkingDirectory", True)
|
|
||||||
# SBFileSpec(path, True) should not prepend the current-working-directory to the
|
|
||||||
# file path if it doesn't exist in the current directory.
|
|
||||||
self.assertTrue (file_only.GetDirectory() == None)
|
|
||||||
|
|
||||||
def test_directory_doesnt_end_with_slash(self):
|
def test_directory_doesnt_end_with_slash(self):
|
||||||
current_directory_spec = lldb.SBFileSpec(os.path.curdir)
|
current_directory_spec = lldb.SBFileSpec(os.path.curdir)
|
||||||
current_directory_string = current_directory_spec.GetDirectory()
|
current_directory_string = current_directory_spec.GetDirectory()
|
||||||
|
|
Loading…
Reference in New Issue