We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 80f23e7 commit a675633Copy full SHA for a675633
tests/textcode/test_strings.py
@@ -182,3 +182,12 @@ def test_strings_in_all_bin(self):
182
test_file = os.path.join(test_dir, tf)
183
expected_file = os.path.join(expec_dir, tf + '.strings')
184
self.check_file_strings(test_file, expected_file)
185
+
186
+ def test_is_relative_path(self):
187
+ # Win Path
188
+ path = "c:\\usr\\lib\\librt.so.1."
189
+ self.assertFalse(strings.is_relative_path(path))
190
191
+ # Relative Posix Path
192
+ path = "usr/lib/librt.so.1"
193
+ self.assertTrue(strings.is_relative_path(path))
0 commit comments