test(stdlib): cover every bundled module through std imports
This commit is contained in:
1 parent
a8ccac9e67
commit
04eae8746e
13 files changed
+246
-5
No files matched your search
@@ -0,0 +1,12 @@
|
||||
---
|
||||
import:
|
||||
utf8: "std:text/utf8"
|
||||
---
|
||||
|
||||
## main
|
||||
|
||||
**内存 = memory.new(1, 1)**
|
||||
|
||||
**长度 = utf8.编码("é", 内存, 0)**
|
||||
|
||||
*[长度, utf8.解码(内存, 0, 长度).value, utf8.解码(内存, 0, 1).ok]*
|
||||
Reference in new issue
Block a user