Merge remote-tracking branch 'upstream/master' into merge_7_25

This commit is contained in:
Ryan Cavanaugh
2016-07-27 10:57:46 -07:00
312 changed files with 30687 additions and 5238 deletions
+13
View File
@@ -14,6 +14,7 @@ import * as querystring from "querystring";
import * as path from "path";
import * as readline from "readline";
import * as childProcess from "child_process";
import * as string_decoder from "string_decoder";
assert(1 + 1 - 2 === 0, "The universe isn't how it should.");
@@ -404,6 +405,18 @@ rl.question("do you like typescript?", function(answer: string) {
rl.close();
});
////////////////////////////////////////////////////
/// string_decoder tests : https://nodejs.org/api/string_decoder.html
////////////////////////////////////////////////////
namespace string_decoder_tests {
var StringDecoder = string_decoder.StringDecoder;
var buffer = new Buffer('test');
var decoder = new StringDecoder('utf8');
var part: string = decoder.write(new Buffer('test'));
var end: string = decoder.end();
}
//////////////////////////////////////////////////////////////////////
/// Child Process tests: https://nodejs.org/api/child_process.html ///
//////////////////////////////////////////////////////////////////////