mirror of
https://github.com/EngineerSmith/nativefs.git
synced 2025-11-08 23:15:02 +00:00
some refactoring, better error reporting in File:tell
This commit is contained in:
@@ -334,6 +334,8 @@ end
|
||||
|
||||
function test_File_tell()
|
||||
local f = fs.newFile(testFile1)
|
||||
local ok, err = f:tell()
|
||||
equals(ok, nil)
|
||||
f:open('r')
|
||||
f:read(172)
|
||||
equals(f:tell(), 172)
|
||||
|
||||
Reference in New Issue
Block a user