VimŸUnDoå Ùç‹Ê\ €•Q.¤]�Yú{óü´4%,püŒ<±ÖÁGSIIIIP°¤¼_ÐÿÿÿÿP‡g2õ'/* vim:set ts=2 sw=2 sts=2 expandtab */5�_ÐÿÿÿÿP‡g2õ?/*jshint asi: true undef: true es5: true node: true devel: true5�_Ð ÿÿÿÿP‡g3õ' forin: false latedef: false */5�_ÐÿÿÿÿP‡g3õ/*global define: true */5�_ÐÿÿÿÿP‡g4õ5�_ÐÿÿÿÿP‡g4õí!(typeof(define) !== "function" ? function($){ $(typeof(require) !== 'function' ? (function() { throw Error('require unsupported'); }) : require, typeof(exports) === 'undefined' ? this : exports); } : define)(function(require, exports) {5�_ÐÿÿÿÿP‡g4õ5�_Ð ÿÿÿÿP‡g5õE 'use strict';5�_Ð  ÿÿÿÿP‡g7õE "use strict';5�_Ð EÿÿÿÿP‡g8õDE});5�_Ð DÿÿÿÿP‡g9õCD5�_Ð ÿÿÿÿPˆ¬Xõ;=G assert.equal(fds[0], fds[1], 'created same descriptor if closed')õ35/ var file = path.join(root, 'x.txt'), fds = []õ24@exports['test open / close file'] = function(expect, complete) {õ,.. var file = fs.open(path.join(root, 'y.txt'))õ+-Aexports['test second close fails'] = function(expect, complete) {õ%'J assert.notEqual(fds[0], fds[1], 'created new descriptor on each open')õ / var file = path.join(root, 'x.txt'), fds = []õ;exports['test on two opens'] = function(expect, complete) {õ, var actual = fs.open(file, { flags: 'w' })õ. var file = path.join(root, 'open-for-write')õJexports['test open for write non-existing'] = function(expect, complete) {õ/ var file = path.join(root, 'does-not-exists')õIexports['test open for read non-existing'] = function(expect, complete) {õ'var Assert = require('./assert').AssertõBvar root = path.join(path.dirname(module.filename), './fixtures/')õvar path = require('path')õ5�_Ð$&% ÿÿÿÿPˆ¶Eõ @õ ?5�_Ð%'&ÿÿÿÿPˆ¶Lõ@5�_Ð&('ÿÿÿÿPˆ¶PõBõA5�_Ð')(ÿÿÿÿPˆ¶TõBvar open = require()5�_Ð(*)ÿÿÿÿPˆ¶V õBvar open = require("")5�_Ð)+*ÿÿÿÿPˆ¶\õ B 5�_Ð*,+ ÿÿÿÿPˆ¶bõ C õ B5�_Ð+-, ÿÿÿÿPˆ¶oõ C var actual = capture()5�_Ð,.- ÿÿÿÿPˆ¶qõ C var actual = capture(open())5�_Ð-/. !ÿÿÿÿPˆ¶sõ C" var actual = capture(open(file))5�_Ð.0/ -ÿÿÿÿPˆ¶tõ C. var actual = capture(open(file), function())5�_Ð/10 /ÿÿÿÿPˆ¶uõ C1 var actual = capture(open(file), function() {})5�_Ð021 ,ÿÿÿÿPˆ¶wõ D/ var actual = capture(open(file), function() {5�_Ð132 0ÿÿÿÿPˆ¶{õ E õ D5�_Ð243 ÿÿÿÿ(1v1Pˆ¶‡õ E return ()5�_Ð354ÿÿÿÿ(1v1Pˆ¶ˆõ E return (/ENOENT/)5�_Ð465ÿÿÿÿ(1v1Pˆ¶‰ õ E return (/ENOENT/).test()5�_Ð576 'ÿÿÿÿ(1v1Pˆ¶¦õ F õ E5�_Ð687 ÿÿÿÿ(1v1Pˆ¶­õG õF5�_Ð798 ÿÿÿÿ(1v1Pˆ¶³õG) return (/ENOENT/).test(error.message)5�_Ð8:9 ÿÿÿÿ(1v1Pˆ¶´õG+ return [](/ENOENT/).test(error.message)5�_Ð9;:*ÿÿÿÿ(1v1Pˆ¶µõG* return [(/ENOENT/).test(error.message)5�_Ð:<; ÿÿÿÿ(1v1Pˆ¶ºõG assert()5�_Ð;=<ÿÿÿÿ(1v1Pˆ¶½õG assert(actual, [])5�_Ð<>=ÿÿÿÿ(1v1Pˆ¶ÄõA expect(fs.open(file)).to.have.an.error(/ENOENT/).then(complete)5�_Ð=?>ÿÿÿÿ(1v1Pˆ¶ÕõF assert(actual, [true, true])5�_Ð>@? ÿÿÿÿ(1v1Pˆ¶×õF" assert(actual, [true, true], "")5�_Ð?A@ÿÿÿÿ vPˆ¶ëõ GõF5�_Ð@BAÿÿÿÿ vPˆ¶íõ!P5�_ÐACB ÿÿÿÿ vPˆ¶îõ!Q5�_ÐBDC(ÿÿÿÿ vPˆ¶ùõQDexports["test open for read non-existing"] = test(function(assert) {5�_ÐCED ÿÿÿÿ vPˆ·õQ4 var actual = capture(open(file), function(error) {5�_ÐDFE#ÿÿÿÿ vPˆ·õQ8 var actual = capture(open(file, {}), function(error) {5�_ÐEGFÿÿÿÿ vPˆ·õQ@ assert(actual, [true, true], "can not open non existing file")5�_ÐFHGÿÿÿÿP°¤¸õvar test = require("./helper")5�_ÐGIHÿÿÿÿP°¤¹õQõP5�_ÐHIÿÿÿÿP°¤»õR5�çª