replace internal module to namespace

This commit is contained in:
vvakame
2016-03-17 02:18:10 +09:00
parent 2f47c75835
commit 14fe4313f4
1139 changed files with 179639 additions and 179639 deletions
+8 -8
View File
@@ -39,7 +39,7 @@ assert.doesNotThrow(() => {
/// Events tests : http://nodejs.org/api/events.html
////////////////////////////////////////////////////
module events_tests {
namespace events_tests {
let emitter: events.EventEmitter;
let event: string;
let listener: Function;
@@ -162,7 +162,7 @@ function bufferTests() {
// fill returns the input buffer.
b.fill('a').fill('b');
{
let buffer = new Buffer('123');
let index: number;
@@ -295,7 +295,7 @@ request.abort();
////////////////////////////////////////////////////
/// Http tests : http://nodejs.org/api/http.html
////////////////////////////////////////////////////
module http_tests {
namespace http_tests {
// Status codes
var code = 100;
var codeMessage = http.STATUS_CODES['400'];
@@ -325,7 +325,7 @@ module http_tests {
/// TTY tests : http://nodejs.org/api/tty.html
////////////////////////////////////////////////////
module tty_tests {
namespace tty_tests {
let rs: tty.ReadStream;
let ws: tty.WriteStream;
@@ -352,7 +352,7 @@ ds.send(new Buffer("hello"), 0, 5, 5000, "127.0.0.1", (error: Error, bytes: numb
///Querystring tests : https://nodejs.org/api/querystring.html
////////////////////////////////////////////////////
module querystring_tests {
namespace querystring_tests {
type SampleObject = {a: string; b: number;}
{
@@ -395,7 +395,7 @@ module querystring_tests {
/// path tests : http://nodejs.org/api/path.html
////////////////////////////////////////////////////
module path_tests {
namespace path_tests {
path.normalize('/foo/bar//baz/asdf/quux/..');
@@ -534,7 +534,7 @@ module path_tests {
/// readline tests : https://nodejs.org/api/readline.html
////////////////////////////////////////////////////
module readline_tests {
namespace readline_tests {
let rl: readline.ReadLine;
{
@@ -638,7 +638,7 @@ childProcess.spawnSync("echo test");
/// os tests : https://nodejs.org/api/os.html
////////////////////////////////////////////////////
module os_tests {
namespace os_tests {
{
let result: string;