Skip to content

Commit 6091f0d

Browse files
committed
Use camelCase for XML acronym
1 parent 7ca955a commit 6091f0d

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

java/ql/test/TestUtilities/InlineExpectationsTestPrivate.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ private class KtExpectationComment extends KtComment, ExpectationComment {
2121
override string getContents() { result = this.getText().suffix(2).trim() }
2222
}
2323

24-
private class XMLExpectationComment extends ExpectationComment instanceof XMLComment {
24+
private class XmlExpectationComment extends ExpectationComment instanceof XMLComment {
2525
override string getContents() { result = this.(XMLComment).getText().trim() }
2626

2727
override Location getLocation() { result = this.(XMLComment).getLocation() }
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
| test.xml:4:5:4:32 | attribute=value | Unexpected result: hasXmlResult= |
2+
| test.xml:5:29:5:52 | $ hasXmlResult | Missing result:hasXmlResult= |

java/ql/test/library-tests/xml/XMLTest.ql

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
import semmle.code.xml.XML
22
import TestUtilities.InlineExpectationsTest
33

4-
class XMLTest extends InlineExpectationsTest {
5-
XMLTest() { this = "XMLTest" }
4+
class XmlTest extends InlineExpectationsTest {
5+
XmlTest() { this = "XmlTest" }
66

77
override string getARelevantTag() { result = "hasXmlResult" }
88

0 commit comments

Comments
 (0)