Skip to content

Commit

Permalink
Updated a testcase for LDEV-4781
Browse files Browse the repository at this point in the history
  • Loading branch information
cfmitrah committed Jan 23, 2024
1 parent c13c869 commit 522358e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/tickets/LDEV4781.cfc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
component extends="org.lucee.cfml.test.LuceeTestCase" labels="sos"{
component extends="org.lucee.cfml.test.LuceeTestCase" {

function run( testResults , testBox ) {
describe( title="Test suite for LDEV-4781", body=function() {
Expand All @@ -15,8 +15,8 @@ component extends="org.lucee.cfml.test.LuceeTestCase" labels="sos"{
</cfxml>
```

expect( XmlSearch(xml_document,"/office/employee").isEmpty() ).toBeFalse();
expect( arrayIndexExists(XmlSearch(xml_document,"/office/employee"), 1) ).toBeTrue();
expect( XmlSearch(xml_document, "/office/employee").isEmpty() ).toBeFalse();
expect( arrayIndexExists(XmlSearch(xml_document, "/office/employee"), 1) ).toBeTrue();
});
});
}
Expand Down

0 comments on commit 522358e

Please sign in to comment.