Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(276)

Unified Diff: test/test_support.ts

Issue 2416003003: Update package name, update and lock clang-format and tslint versions, and format all source files … (Closed)
Patch Set: Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« package.json ('K') | « test/module_test.ts ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/test_support.ts
diff --git a/test/test_support.ts b/test/test_support.ts
index 9993e98cdeb2e81a0b7da689ea9b50e8f13d6dfa..912392d6558f5820e1c61aadc291f2a6995894b5 100644
--- a/test/test_support.ts
+++ b/test/test_support.ts
@@ -43,9 +43,15 @@ export function parseFiles(nameToContent: StringMap): ts.Program {
}
return undefined;
},
- writeFile: function(name, text, writeByteOrderMark) { result = text; },
- fileExists: (sourceName) => { return !!nameToContent[sourceName]; },
- readFile: (filename): string => { throw new Error('unexpected call to readFile'); },
+ writeFile: function(name, text, writeByteOrderMark) {
+ result = text;
+ },
+ fileExists: (sourceName) => {
+ return !!nameToContent[sourceName];
+ },
+ readFile: (filename): string => {
+ throw new Error('unexpected call to readFile');
+ },
getDefaultLibFileName: () => defaultLibName,
useCaseSensitiveFileNames: () => false,
getCanonicalFileName: (filename) => '../' + filename,
« package.json ('K') | « test/module_test.ts ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698