mirror of
https://github.com/wren-lang/wren.git
synced 2026-01-11 14:18:42 +01:00
5 lines
138 B
Plaintext
5 lines
138 B
Plaintext
import "io" for File
|
|
|
|
var file = File.open("test/io/file/file.txt")
|
|
file.readBytes(-1) // expect runtime error: Count cannot be negative.
|