mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-02-15 03:23:08 -06:00
update unit test contents
This commit is contained in:
parent
01267bc1f1
commit
1b1a45be6b
@ -33,6 +33,6 @@ describe("DocumentRegistry", () => {
|
||||
compilerOptions.module = ts.ModuleKind.CommonJS;
|
||||
var f4 = documentRegistry.acquireDocument("file1.ts", compilerOptions, ts.ScriptSnapshot.fromString("var x = 1;"), "1");
|
||||
|
||||
assert(f1 !== f4, "Changed module: Expected to have different instances of document");
|
||||
assert(f3 === f4, "Changed module: Expected to have the same instance of the document");
|
||||
});
|
||||
});
|
||||
Loading…
x
Reference in New Issue
Block a user