Skip to content

Commit

Permalink
No public description
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 695529052
  • Loading branch information
concavelenz authored and copybara-github committed Nov 12, 2024
1 parent 0ee118d commit 8998eca
Showing 1 changed file with 3 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,6 @@ public void testReferencingMangledModuleNames_rewriteModulesBeforeTypechecking()
CompilerOptions options = createCompilerOptions();
options.setClosurePass(true);
options.setCheckTypes(true);
options.setBadRewriteModulesBeforeTypecheckingThatWeWantToGetRidOf(true);
compile(
options,
new String[] {
Expand Down Expand Up @@ -122,7 +121,6 @@ public void testFunctionDeclarationInGoogScope_usingGoogModuleGetType() {
CompilerOptions options = createCompilerOptions();
options.setClosurePass(true);
options.setCheckTypes(true);
options.setBadRewriteModulesBeforeTypecheckingThatWeWantToGetRidOf(true);

compile(
options,
Expand All @@ -144,7 +142,7 @@ public void testFunctionDeclarationInGoogScope_usingGoogModuleGetType() {
lines(
"actual parameter 1 of $jscomp$scope$98477071$0$f does not match formal parameter",
"found : null",
"required: module$exports$foo$bar$Types.Klazz"));
"required: foo.bar.Types.Klazz"));
assertThat(lastCompiler.getErrors()).isEmpty();
}

Expand All @@ -153,7 +151,6 @@ public void testEsModuleInterop_esModuleUsingGoogRequireType() {
CompilerOptions options = createCompilerOptions();
options.setClosurePass(true);
options.setCheckTypes(true);
options.setBadRewriteModulesBeforeTypecheckingThatWeWantToGetRidOf(true);

compile(
options,
Expand All @@ -171,9 +168,9 @@ public void testEsModuleInterop_esModuleUsingGoogRequireType() {
.comparingElementsUsing(JSCompCorrespondences.DESCRIPTION_EQUALITY)
.containsExactly(
lines(
"actual parameter 1 of f$$module$i1 does not match formal parameter",
"actual parameter 1 of f does not match formal parameter",
"found : null",
"required: module$exports$foo$bar$Types.Klazz"));
"required: foo.bar.Types.Klazz"));
assertThat(lastCompiler.getErrors()).isEmpty();
}

Expand Down Expand Up @@ -1608,7 +1605,6 @@ public void testTypecheckClass_assignedInNestedAssignInGoogModule() {
options.setCheckTypes(true);
options.setClosurePass(true);
options.setChecksOnly(true);
options.setBadRewriteModulesBeforeTypecheckingThatWeWantToGetRidOf(true);

compile(
options,
Expand Down

0 comments on commit 8998eca

Please sign in to comment.