diff --git a/compiler/ballerina-parser/src/test/resources/expressions/xml-template/xml_template_assert_36.json b/compiler/ballerina-parser/src/test/resources/expressions/xml-template/xml_template_assert_36.json
index 94e9a7752634..5556cd4e9ac3 100644
--- a/compiler/ballerina-parser/src/test/resources/expressions/xml-template/xml_template_assert_36.json
+++ b/compiler/ballerina-parser/src/test/resources/expressions/xml-template/xml_template_assert_36.json
@@ -150,13 +150,7 @@
"children": [
{
"kind": "IDENTIFIER_TOKEN",
- "value": "a",
- "trailingMinutiae": [
- {
- "kind": "WHITESPACE_MINUTIAE",
- "value": " "
- }
- ]
+ "value": "a"
}
]
},
@@ -346,13 +340,7 @@
]
},
{
- "kind": "DOUBLE_QUOTE_TOKEN",
- "trailingMinutiae": [
- {
- "kind": "WHITESPACE_MINUTIAE",
- "value": " "
- }
- ]
+ "kind": "DOUBLE_QUOTE_TOKEN"
}
]
}
diff --git a/compiler/ballerina-parser/src/test/resources/expressions/xml-template/xml_template_source_36.bal b/compiler/ballerina-parser/src/test/resources/expressions/xml-template/xml_template_source_36.bal
index bdb1b521e3fb..4f1edb48075f 100644
--- a/compiler/ballerina-parser/src/test/resources/expressions/xml-template/xml_template_source_36.bal
+++ b/compiler/ballerina-parser/src/test/resources/expressions/xml-template/xml_template_source_36.bal
@@ -1,4 +1,4 @@
function foo() {
- xml x1 = xml ``;
- xml x2 = xml ``;
+ xml x1 = xml ``;
+ xml x2 = xml ``;
}
diff --git a/tests/jballerina-unit-test/src/test/java/org/ballerinalang/test/types/xml/XMLLiteralTest.java b/tests/jballerina-unit-test/src/test/java/org/ballerinalang/test/types/xml/XMLLiteralTest.java
index aea1d277e26e..67b2a38df455 100644
--- a/tests/jballerina-unit-test/src/test/java/org/ballerinalang/test/types/xml/XMLLiteralTest.java
+++ b/tests/jballerina-unit-test/src/test/java/org/ballerinalang/test/types/xml/XMLLiteralTest.java
@@ -211,8 +211,8 @@ public void testXMLNegativeSemantics() {
"'(xml|xml:Text)', found 'xml'", 149, 39);
BAssertUtil.validateError(negativeResult, index++, "incompatible types: expected " +
"'(xml>|xml>)', found 'xml'", 150, 54);
- BAssertUtil.validateError(negativeResult, index++, "missing gt token", 154, 23);
- BAssertUtil.validateError(negativeResult, index++, "missing gt token", 155, 29);
+ BAssertUtil.validateError(negativeResult, index++, "missing gt token", 154, 22);
+ BAssertUtil.validateError(negativeResult, index++, "missing gt token", 155, 28);
Assert.assertEquals(index, negativeResult.getErrorCount());
}
diff --git a/tests/jballerina-unit-test/src/test/resources/test-src/types/xml/xml-literals-negative.bal b/tests/jballerina-unit-test/src/test/resources/test-src/types/xml/xml-literals-negative.bal
index 71cb91000ec6..3952bce53638 100644
--- a/tests/jballerina-unit-test/src/test/resources/test-src/types/xml/xml-literals-negative.bal
+++ b/tests/jballerina-unit-test/src/test/resources/test-src/types/xml/xml-literals-negative.bal
@@ -151,6 +151,6 @@ function textInvalidXmlSequence() {
}
function testMissingClosingGTToken() {
- xml x1 = xml ``;
- xml x2 = xml ``;
+ xml x1 = xml ``;
+ xml x2 = xml ``;
}