Fix bug reference in goog.scope tests.
@@ -970,7 +970,8 @@ public final class ScopedAliasesTest extends CompilerTestCase {
"$jscomp.scope.x = null;");
}
- public void testIssue2210() {
+ // https://github.com/google/closure-compiler/issues/2211
+ public void testIssue2211() {
test(
LINE_JOINER.join(
"var ns = {};",
@@ -988,7 +989,8 @@ public final class ScopedAliasesTest extends CompilerTestCase {
"};"));
}
- public void testIssue2210b() {
+ // https://github.com/google/closure-compiler/issues/2211
+ public void testIssue2211b() {
test(
LINE_JOINER.join(
"var ns = {};",
@@ -1009,12 +1011,14 @@ public final class ScopedAliasesTest extends CompilerTestCase {
"};"));
}
- public void testIssue2210c() {
+ // https://github.com/google/closure-compiler/issues/2211
+ public void testIssue2211c() {
testScoped(
LINE_JOINER.join(
"foo(() => {",
" const y = function y() {",
- " use(y);", " };",
+ " use(y);",
+ " };",
"});"),
LINE_JOINER.join(
"foo(() => {",
