Skip to content

Commit

Permalink
fix: do not use hardcoded slashes in paths
Browse files Browse the repository at this point in the history
  • Loading branch information
umarcor committed Apr 16, 2019
1 parent 983be6a commit bbb3253
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions vunit/test/unit/test_ghdl_interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -168,15 +168,15 @@ def test_elaborate_e_project(self):
simif._project.add_library("lib", "lib_path") # pylint: disable=protected-access

self.assertEqual(
simif._get_command(config, "output_path/ghdl", True), # pylint: disable=protected-access
simif._get_command(config, join('output_path', 'ghdl'), True), # pylint: disable=protected-access
[
join("prefix", 'ghdl'),
join('prefix', 'ghdl'),
'-e',
'--std=08',
'--work=lib',
'--workdir=lib_path',
'-Plib_path',
'-o', 'output_path/ghdl/tb_entity-arch',
'-o', join('output_path', 'ghdl', 'tb_entity-arch'),
'tb_entity', 'arch'
]
)
Expand Down

0 comments on commit bbb3253

Please sign in to comment.