Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tests: fix compiler notices for the REPL test runner, use `encoding.h…
…ex` instead of the `compress` module in import_alias.repl
- Loading branch information
Showing
2 changed files
with
5 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
import compress.zlib as z | ||
z.compress('hello world'.bytes())! | ||
import encoding.hex as z | ||
z.decode('AB09CD')!.hex() | ||
===output=== | ||
[120, 1, 1, 11, 0, 244, 255, 104, 101, 108, 108, 111, 32, 119, 111, 114, 108, 100, 26, 11, 4, 93] | ||
ab09cd |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters