From 1b1a45be6b870cf386f4ef3d8b564aaf989361ea Mon Sep 17 00:00:00 2001 From: Mohamed Hegazy Date: Tue, 20 Jan 2015 11:03:51 -0800 Subject: [PATCH] update unit test contents --- tests/cases/unittests/services/documentRegistry.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/cases/unittests/services/documentRegistry.ts b/tests/cases/unittests/services/documentRegistry.ts index 50074b00db9..598416b9812 100644 --- a/tests/cases/unittests/services/documentRegistry.ts +++ b/tests/cases/unittests/services/documentRegistry.ts @@ -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"); }); }); \ No newline at end of file