Changeset 21108 for lang/cplusplus
- Timestamp:
- 10/11/08 11:11:31 (3 months ago)
- Location:
- lang/cplusplus/llv8call/trunk
- Files:
-
- 2 modified
-
ext/fs/file.cc (modified) (1 diff)
-
t/050_fs/01_file.js (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
lang/cplusplus/llv8call/trunk/ext/fs/file.cc
r20806 r21108 117 117 return args.This(); 118 118 } else { 119 return throw_stderr("open"); 119 std::string buf("Cannot open("); 120 buf += *str; 121 buf += ")"; 122 return throw_stderr(buf.c_str()); 120 123 } 121 124 END -
lang/cplusplus/llv8call/trunk/t/050_fs/01_file.js
r20788 r21108 1 1 require('t/util.js'); 2 2 3 plan({tests : 2 8});3 plan({tests : 29}); 4 4 check_lib('org.coderepos.fs', 'File'); 5 5 … … 98 98 })(); 99 99 100 (function () { 101 try { 102 new File("/tmp/unknown/file", 'r'); 103 } catch (e) { 104 like(e, /Cannot open\(\/tmp\/unknown\/file\)/, 'cannot open file error message'); 105 } 106 })();
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)