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