Skip to content

Commit 1154256

Browse files
tbreisacherbrad4d
tbreisacher
authored andcommitted
Fix test formatting
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=152749622
1 parent e6a9fab commit 1154256

File tree

1 file changed

+27
-25
lines changed

1 file changed

+27
-25
lines changed

test/com/google/javascript/jscomp/InlineVariablesTest.java

+27-25
Original file line numberDiff line numberDiff line change
@@ -811,35 +811,37 @@ public void testInlineFunctionAlias2b() {
811811

812812
public void testInlineCatchAlias1() {
813813
test(
814-
"try {" +
815-
"} catch (e) {" +
816-
" var y = e;" +
817-
" g();" +
818-
" y;y;" +
819-
"}",
820-
"try {" +
821-
"} catch (e) {" +
822-
" g();" +
823-
" e;e;" +
824-
"}"
825-
);
814+
LINE_JOINER.join(
815+
"try {",
816+
"} catch (e) {",
817+
" var y = e;",
818+
" g();" ,
819+
" y;y;" ,
820+
"}"),
821+
LINE_JOINER.join(
822+
"try {",
823+
"} catch (e) {",
824+
" g();",
825+
" e;e;",
826+
"}"));
826827
}
827828

828829
public void testInlineCatchAlias2() {
829830
test(
830-
"try {" +
831-
"} catch (e) {" +
832-
" var y; y = e;" +
833-
" g();" +
834-
" y;y;" +
835-
"}",
836-
"try {" +
837-
"} catch (e) {" +
838-
" e;" +
839-
" g();" +
840-
" e;e;" +
841-
"}"
842-
);
831+
LINE_JOINER.join(
832+
"try {",
833+
"} catch (e) {",
834+
" var y; y = e;",
835+
" g();",
836+
" y;y;",
837+
"}"),
838+
LINE_JOINER.join(
839+
"try {",
840+
"} catch (e) {",
841+
" e;",
842+
" g();",
843+
" e;e;",
844+
"}"));
843845
}
844846

845847
public void testLocalsOnly1() {

0 commit comments

Comments
 (0)