Files
swift-mirror/utils/line-directive
Daniel Rodríguez Troitiño b981afb29b [windows][test] Improve line-directive test for Windows.
The line directive test was using a command for one of the tests. The
command was being built as a string, instead of relaying on Python
multi-platform command building from arrays. Additionally the command
itself was being escaped with single quotes, which in Windows mean
nothing and were ending in the output of the command.

The changes switches the string building for an array, and leaves the
string building and escaping to Python. This should work in both
macOS, Linux and Windows.

This should fix the failing test in Azure.
2019-07-17 12:37:41 -07:00

28 KiB
Executable File