Skip to content

Commit

Permalink
fix tests attempt emscripten-core#1
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasballinger committed Dec 30, 2020
1 parent 2bfae43 commit dfb730b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/test_other.py
Original file line number Diff line number Diff line change
Expand Up @@ -2229,11 +2229,12 @@ def test_file_packager_unicode(self):
create_test_file(full, 'data')
proc = self.run_process([FILE_PACKAGER, 'test.data', '--preload', full], stdout=PIPE, stderr=PIPE)
assert len(proc.stdout), proc.stderr
assert unicode_name in proc.stdout, proc.stdout
assert json.dumps(unicode_name) in proc.stdout, proc.stdout
print(len(proc.stderr))

def test_file_packager_directory_with_single_quote(self):
single_quote_name = "direc'tory"
ensure_dir(single_quote_name)
full = os.path.join(single_quote_name, 'data.txt')
create_test_file(full, 'data')
proc = self.run_process([FILE_PACKAGER, 'test.data', '--preload', full], stdout=PIPE, stderr=PIPE)
Expand Down

0 comments on commit dfb730b

Please sign in to comment.