diff options
author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2020-11-05 15:53:21 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-05 15:53:21 +0100 |
commit | 791119d4af1066b20fa2b5bf8fc82d04d843d51d (patch) | |
tree | 94890756f4380fb2c1d8abd92af66128533a1535 /tools/util_test.py | |
parent | e7cfd90b0f72874aa1535a382df32dce28bd587a (diff) |
build: rewrite tools/ scripts to deno (#8247)
This commit rewrites scripts in "tools/" directory
to use Deno instead of Python. In return it allows
to remove huge number of Python packages in "third_party/".
Diffstat (limited to 'tools/util_test.py')
-rwxr-xr-x | tools/util_test.py | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/tools/util_test.py b/tools/util_test.py deleted file mode 100755 index 7f5433114..000000000 --- a/tools/util_test.py +++ /dev/null @@ -1,23 +0,0 @@ -# Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. -import os - -from test_util import DenoTestCase, run_tests -from util import (shell_quote_win, root_path) - - -class TestUtil(DenoTestCase): - def test_shell_quote_win(self): - assert shell_quote_win('simple') == 'simple' - assert shell_quote_win( - 'roof/\\isoprojection') == 'roof/\\isoprojection' - assert shell_quote_win('with space') == '"with space"' - assert shell_quote_win('embedded"quote') == '"embedded""quote"' - assert shell_quote_win( - 'a"b""c\\d\\"e\\\\') == '"a""b""""c\\d\\\\""e\\\\\\\\"' - - def test_executable_exists(self): - assert os.path.exists(self.deno_exe) - - -if __name__ == '__main__': - run_tests() |