Commit 04f746a 1 parent ea4adc3 commit 04f746a Copy full SHA for 04f746a
File tree 1 file changed +2
-2
lines changed
test/com/google/javascript/jscomp/parsing
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -2060,7 +2060,7 @@ public void testParseLicenseMultiple() {
2060
2060
@ Test
2061
2061
public void testParseLicenseOnlyContentParsesLicenseWithInvalidJsDocTag () {
2062
2062
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 );
2064
2064
assertThat (r ).isNotNull ();
2065
2065
assertThat (this .prevLicense ).isEqualTo (" Foo\n " );
2066
2066
assertThat (r .isNoSideEffects ()).isFalse ();
@@ -2072,7 +2072,7 @@ public void testParseLicenseOnlyContentParsesLicenseWithInvalidJsDocTag() {
2072
2072
@ Test
2073
2073
public void testParseLicenseOnlyContentParsesPreservedCommentWithInvalidJsDocTag () {
2074
2074
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 );
2076
2076
assertThat (r ).isNotNull ();
2077
2077
assertThat (this .prevLicense ).isEqualTo (" Foo\n " );
2078
2078
assertThat (r .isNoSideEffects ()).isFalse ();
You can’t perform that action at this time.
0 commit comments