Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
czoido committed Sep 29, 2023
1 parent ec27a70 commit cdd64a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ def test_conan_cmake_autodetect_os(self):
run("cmake .. {} -DCMAKE_BUILD_TYPE=Release > output.txt".format(generator))
with open('output.txt', 'r') as file:
data = file.read()
the_os = {'Darwin': 'Macos'}.get(platform.system())
the_os = {'Darwin': 'Macos'}.get(platform.system(), platform.system())
assert f"os={the_os}" in data

# https://github.com/conan-io/cmake-conan/issues/279
Expand Down

0 comments on commit cdd64a9

Please sign in to comment.