MCPcopy Create free account
hub / github.com/emscripten-core/emscripten / assertPathsIdentical

Method assertPathsIdentical

test/common.py:1096–1099  ·  view source on GitHub ↗
(self, path1, path2)

Source from the content-addressed store, hash-verified

1094
1095 # Tests that the given two paths are identical, modulo path delimiters. E.g. "C:/foo" is equal to "C:\foo".
1096 def assertPathsIdentical(self, path1, path2):
1097 path1 = utils.normalize_path(path1)
1098 path2 = utils.normalize_path(path2)
1099 return self.assertIdentical(path1, path2)
1100
1101 # Tests that the given two multiline text content are identical, modulo line
1102 # ending differences (\r\n on Windows, \n on Unix).

Callers 1

test_source_mapMethod · 0.80

Calls 1

assertIdenticalMethod · 0.95

Tested by 1

test_source_mapMethod · 0.64