Skip to content

Commit 04f746a

Browse files
blicklycopybara-github
authored andcommitted
Minor code simplifications
PiperOrigin-RevId: 718898595
1 parent ea4adc3 commit 04f746a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/com/google/javascript/jscomp/parsing/JsDocInfoParserTest.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -2060,7 +2060,7 @@ public void testParseLicenseMultiple() {
20602060
@Test
20612061
public void testParseLicenseOnlyContentParsesLicenseWithInvalidJsDocTag() {
20622062
String comment = "@date 11/12/2023\n@nosideeffects\n@deprecated\n@license Foo\n*/";
2063-
JSDocInfo r = parse(comment, Config.JsDocParsing.LICENSE_COMMENTS_ONLY);
2063+
JSDocInfo r = parse(comment, JsDocParsing.LICENSE_COMMENTS_ONLY);
20642064
assertThat(r).isNotNull();
20652065
assertThat(this.prevLicense).isEqualTo(" Foo\n");
20662066
assertThat(r.isNoSideEffects()).isFalse();
@@ -2072,7 +2072,7 @@ public void testParseLicenseOnlyContentParsesLicenseWithInvalidJsDocTag() {
20722072
@Test
20732073
public void testParseLicenseOnlyContentParsesPreservedCommentWithInvalidJsDocTag() {
20742074
String comment = "@date 11/12/2023\n@nosideeffects\n@deprecated\n@preserve Foo\n*/";
2075-
JSDocInfo r = parse(comment, Config.JsDocParsing.LICENSE_COMMENTS_ONLY);
2075+
JSDocInfo r = parse(comment, JsDocParsing.LICENSE_COMMENTS_ONLY);
20762076
assertThat(r).isNotNull();
20772077
assertThat(this.prevLicense).isEqualTo(" Foo\n");
20782078
assertThat(r.isNoSideEffects()).isFalse();

0 commit comments

Comments
 (0)