[TIMOB-5056] Filesystem Blob empty file size should be 0 failure in drillbit
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Low |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2011-09-13T14:17:47.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Sprint 2011-36, Release 1.8.0 |
Components | n/a |
Labels | n/a |
Reporter | Reggie Seagraves |
Assignee | Sabil Rahim |
Created | 2011-08-19T10:29:05.000+0000 |
Updated | 2017-03-08T00:03:54.000+0000 |
Description
emptyFile false 398 should be: "0", was:"110"
emptyFile: function() {
396 var emptyFile = Ti.Filesystem.getFile(Ti.Filesystem.resourcesDirectory, "empty.txt");
397 valueOf(emptyFile).shouldNotBeNull();
398 valueOf(emptyFile.size).shouldBe(0);
399
400 var blob = emptyFile.read();
401 valueOf(blob.length).shouldBe(0);
402 valueOf(blob.text).shouldBe("");
403 valueOf(blob.toString()).shouldBe("");
404 }
pending pull #448
Closing ticket due to time passed.